- #Router on a stick configuration cisco how to
- #Router on a stick configuration cisco manual
- #Router on a stick configuration cisco verification
Protocol Address Age (min) Hardware Addr Type Interface Success rate is 100 percent (5/5), round-trip min/avg/max = 16/30/72 ms Sending 5, 100-byte ICMP Echos to 10.0.0.3, timeout is 2 seconds:
#Router on a stick configuration cisco manual
Success rate is 100 percent (5/5), round-trip min/avg/max = 16/34/68 msįastEthernet0/0 20.0.0.4 YES manual up up Sending 5, 100-byte ICMP Echos to 20.0.0.4, timeout is 2 seconds: HOST-A# sh ip int b | exclude unassignd|downįastEthernet0/0 10.0.0.3 YES manual up up Port 321 (Port-channel1) of VLAN20 is forwarding Port 45 (FastEthernet1/4) of VLAN20 is forwarding SW# sh spanning-tree vlan 20 | include forwarding Port 321 (Port-channel1) of VLAN10 is forwarding Number of transitions to forwarding state: 1 Port 44 (FastEthernet1/3) of VLAN10 is forwarding SW# sh spanning-tree vlan 10 | include forwarding Port Vlans in spanning tree forwarding state and not pruned Port Vlans allowed and active in management domain Port Mode Encapsulation Status Native vlan SW# sh vlan-switch brief | include _10_|_20_ Interface IP-Address OK? Method Status ProtocolįastEthernet0/0 unassigned YES unset up upįastEthernet0/1 unassigned YES unset up up R1(config)# int port-channel 1.20 < Create Port-Channel Sub-interface for VLAN 20 R1(config)# int port-channel 1.10 < Create Port-Channel Sub-interface for VLAN 10 %Interface MTU set to channel-group MTU 1500. R1(config)# int port-channel 1 < Lets first Create Port-Channel Interface SW(config-if)# switchport trunk encapsulation dot1q SW(config)# interface port-channel 1 < All Trunk Config Goes To Port-Channel SW(config-if-range)# channel-group 1 mode on Have effect when the interface is in a non-trunking mode. %Portfast has been configured on FastEthernet1/3 but will only When portfast is enabled, can cause temporary spanning tree loops. %Warning: portfast should only be enabled on ports connected to a single host.Ĭonnecting hubs, concentrators, switches, bridges, etc.to this interface SW(config-if)# spanning-tree portfast < Optional
#Router on a stick configuration cisco verification
Now lets move to Cli where I am going to show everything into 2 Important Steps:īTW, I used a Cisco 3725 Router with 16 Port Switching Module to emulate the Switch part here so some of verification and configuration commands are specific to this setup as here Router is acting as a Switch.Įnter configuration commands, one per line. R1(config-subif)#int fastEthernet 0/1.Now before we move ahead, for those which are not familiar with these two topics (Ether-Channel & Router On A Stick), I would recommend following Pre readings : R1(config)#access-list 151 deny ip any any R1(config)#access-list 150 deny ip any any In the below example with will permit only http traffic to the SRV100 and SRV101 from the opposing VLANS: R1(config)#access-list 150 permit tcp any host 192.168.100.1 eq 80 If you wish to limit the traffic that passes between vlans you can assign an access list to prevent unwanted traffic from traversing the VLANs. Once you have assigned the appropriate IP addresses and gateway to the PCs you will be able to communicate between the VLANS. R1(config)# interface FastEthernet0/0.101 R1(config)# interface FastEthernet0/0.100 We now need to configure the router: R1# configure terminal SW1(config-if)# switchport access vlan 101 SW1(config-if)# switchport access vlan 100
#Router on a stick configuration cisco how to
The device is called a router on a stick and we’re going to show you how to configure Cisco router on a stick in this article.įirst we shall create the VLANs: SW1#configure terminal If you wish to use multiple vlans on your network you will need a layer 3 device to connect these networks.