!
--More-- interface FastEthernet3/47
switchport access vlan 4
!
interface FastEthernet3/48
switchport access vlan 4
!
interface Vlan1
ip address 192.168.1.253 255.255.255.0
!
interface Vlan2
ip address 192.168.2.253 255.255.255.0
!
interface Vlan3
ip address 192.168.3.253 255.255.255.0
ip access-group 101 in
!
interface Vlan4
ip address 192.168.4.253 255.255.255.0
!
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.1.254
no ip http server
!
--More-- !
access-list 101 deny icmp any 192.168.1.0 0.0.0.255
access-list 101 permit ip any any
!
!
line con 0
password 111111
login
stopbits 1
line vty 0 3
password 111111
login
line vty 4
login
!
end
推薦閱讀
- 二層、三層、四層交換機的區(qū)別
- 交換機的常見故障輕松排除
- Cisco2950交換機配置VLAN的比較
- 什么是交換機?
- 3Com CoreBuilder 3500 交換機
- SPAN 交換機配置配置鏡像
- 交換機配置IP訪問控制列表 Cisco6509
- 中文 Cisco4006交換機簡明配置手冊
- 千兆交換機選購之“先”人指路
- 玩轉(zhuǎn)交換機的“TRUNK”
