Packet Filter
Packet Filter
Packet Filter
4.1 Coding:
Server (config-if-range)#exit
Server (config)#exit
Server # vlan database
Server(vlan)#vlan 2 name admin
Server (vlan)#vlan 3 name AC
Server (vlan)#vlan 4 name HR
Router1(config-subif)#encapsulation dot1q 2
Router1(config-subif)#ip add 10.1.0.1 255.255.0.0
Router1(config-subif)#no shut
Router1(config-subif)#exit
Router1(config)#int f0/0.2
Router1(config-subif)#encapsulation dot1q 3
Router1(config-subif)#ip add 10.2.0.1 255.255.0.0
Router1(config-subif)#no shut
Router1(config-subif)#exit
Router2(config-router)#net 10.0.0.0
Router2(config-router)#net 10.4.0.0
Router2(config-router)#no auto-summary
Router2(config-router)#passive-interface f0/0
Router2(config-router)#exit
Router2(config)#
Implementing EIGRP:
Router0:
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int s0/0
Router(config-if)#ip address 10.0.0.1 255.0.0.0
Router(config-if)#no shut
Goodbye received
%DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 10.0.0.2 (Serial0/0) is up: new adjacency
Router1:
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int s0/0
Router(config-if)#ip address 10.0.0.2 255.0.0.0
Router(config-if)#no shut
Router(config-if)#int f0/0
Router(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up
Router(config-if)#ip address 13.0.0.1 255.0.0.0
Router(config-if)#no shut
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Router(config-if)#int s0/1
Router(config-if)#ip address 11.0.0.2 255.0.0.0
Router(config-if)#no shut
%LINK-5-CHANGED: Interface Serial0/1, changed state to down
Router(config-if)#clock rate 64000
Router(config-if)#^Z
Router#
%SYS-5-CONFIG_I: Configured from console by console
Router2:
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int s0/0
Router(config-if)#ip address 11.0.0.3 255.0.0.0
Router(config-if)#no shut
Router(config-if)#int f0/0
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up
Router(config-if)#^Z
Router#
%SYS-5-CONFIG_I: Configured from console by console
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#router eigrp 100
Router(config-router)#net 11.0.0.0
Router(config-router)#
%DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 11.0.0.2 (Serial0/0) is up: new adjacency
net 14.0.0.0
Router(config-router)#no auto summary
Router(config-router)#
%DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 11.0.0.2 (Serial0/0) is up: new adjacency
^Z
Router#
%SYS-5-CONFIG_I: Configured from console by console
Implementing RIP:
Router0:
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int s0/0
Router(config-if)#ip address 10.0.0.1 255.0.0.0
Router(config-if)#no shut
Router#
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int f0/0
Router(config-if)#ip address 11.0.0.1 255.0.0.0
Router(config-if)#no shut
Router(config-if)#^Z
Router#
%SYS-5-CONFIG_I: Configured from console by console
Router#
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#router rip
Router(config-router)#net 10.0.0.0
Router(config-router)#net 11.0.0.0
Router(config-router)#no auto summary
Router(config-router)#^Z
Router#
%SYS-5-CONFIG_I: Configured from console by console
Router1:
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int s0/0
Router(config-if)#ip address 10.0.0.6 255.0.0.0
Router(config-if)#no shut
Router(config-if)#
%LINK-5-CHANGED: Interface Serial0/0, changed state to up
int
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up
f0/0
Router(config-if)#^Z
Router#
%SYS-5-CONFIG_I: Configured from console by console
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#router rip
Router(config-router)#net 10.0.0.0
Router(config-router)#net 12.0.0.0
Router(config-router)#no auto summary
Router(config-router)#^Z
Router#
%SYS-5-CONFIG_I: Configured from console by console