Cisco3550交换机上流量控制的实现( 二 )


ip address 192.168.3.1 255.255.255.0
!
interface Vlan4
ip address 192.168.4.1 255.255.255.0
!
interface Vlan5
ip address 192.168.5.1 255.255.255.0
!
interface Vlan6
ip address 192.168.6.1 255.255.255.0
!
ip default-gateway 192.168.0.1
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.0.1
ip http server
!
!
access-list 112 deny ip 192.168.2.0 0.0.0.255 192.168.3.0 0.0.0.255
access-list 112 deny ip 192.168.2.0 0.0.0.255 192.168.4.0 0.0.0.255
access-list 112 deny ip 192.168.2.0 0.0.0.255 192.168.5.0 0.0.0.255
access-list 112 deny ip 192.168.2.0 0.0.0.255 192.168.6.0 0.0.0.255
access-list 112 deny ip 192.168.2.0 0.0.0.255 192.168.0.0 0.0.0.255
access-list 112 permit ip 192.168.2.0 0.0.0.255 any
access-list 113 deny ip 192.168.3.0 0.0.0.255 192.168.0.0 0.0.0.255
access-list 113 deny ip 192.168.3.0 0.0.0.255 192.168.2.0 0.0.0.255
access-list 113 deny ip 192.168.3.0 0.0.0.255 192.168.4.0 0.0.0.255
access-list 113 deny ip 192.168.3.0 0.0.0.255 192.168.5.0 0.0.0.255
access-list 113 deny ip 192.168.3.0 0.0.0.255 192.168.6.0 0.0.0.255
access-list 113 permit ip 192.168.3.0 0.0.0.255 any
access-list 114 deny ip 192.168.4.0 0.0.0.255 192.168.0.0 0.0.0.255
access-list 114 deny ip 192.168.4.0 0.0.0.255 192.168.2.0 0.0.0.255
access-list 114 deny ip 192.168.4.0 0.0.0.255 192.168.3.0 0.0.0.255
access-list 114 deny ip 192.168.4.0 0.0.0.255 192.168.5.0 0.0.0.255
access-list 114 deny ip 192.168.4.0 0.0.0.255 192.168.6.0 0.0.0.255
access-list 114 permit ip 192.168.4.0 0.0.0.255 any
access-list 115 deny ip 192.168.4.0 0.0.0.255 192.168.0.0 0.0.0.255
access-list 115 deny ip 192.168.4.0 0.0.0.255 192.168.2.0 0.0.0.255
access-list 115 deny ip 192.168.4.0 0.0.0.255 192.168.3.0 0.0.0.255
access-list 115 deny ip 192.168.4.0 0.0.0.255 192.168.4.0 0.0.0.255
access-list 115 deny ip 192.168.4.0 0.0.0.255 192.168.6.0 0.0.0.255
access-list 115 permit ip 192.168.5.0 0.0.0.255 any
access-list 116 deny ip 192.168.6.0 0.0.0.255 192.168.0.0 0.0.0.255
access-list 116 deny ip 192.168.6.0 0.0.0.255 192.168.2.0 0.0.0.255
access-list 116 deny ip 192.168.6.0 0.0.0.255 192.168.3.0 0.0.0.255
access-list 116 deny ip 192.168.6.0 0.0.0.255 192.168.4.0 0.0.0.255
access-list 116 deny ip 192.168.6.0 0.0.0.255 192.168.5.0 0.0.0.255
access-list 116 permit ip 192.168.6.0 0.0.0.255 any
!
line con 0
password 7 14141B180F0B7B787D7961627B47554352
logging synchronous
login
line vty 0 4
password 7 104D000A061843585555787C7D7C616073
login
line vty 5 15
password 7 104D000A061843585555787C7D7C616073
login
!
end
cr20g#

推荐阅读