!
--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
推荐阅读
- 二层、三层、四层交换机的区别
- 交换机的常见故障轻松排除
- Cisco2950交换机配置VLAN的比较
- 什么是交换机?
- 3Com CoreBuilder 3500 交换机
- SPAN 交换机配置配置镜像
- 交换机配置IP访问控制列表 Cisco6509
- 中文 Cisco4006交换机简明配置手册
- 千兆交换机选购之“先”人指路
- 玩转交换机的“TRUNK”
