Cata3550的配置清单

时间:2023-11-16 19:33:47 来源:网络 浏览:11次

3550-emi#show run
Building configuration...
Current configuration : 2866 bytes
!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
no service passWord-encryption
!
hostname s3550-emi
!
enable secret 5 $1$GNOM$/MQkwi26bXabrf57Zm2vH1
enable password cisco
!
ip subnet-zero
ip routing
!
!
spanning-tree extend system-id
!
!
!
interface FastEthernet0/1
no switchport
ip address 192.168.61.10 255.255.255.0
ip Access-group 1 in
ip access-group 1 out
!
interface FastEthernet0/2
switchport access vlan 2
no ip address
!
interface FastEthernet0/3
switchport access vlan 2
no ip address
!
interface FastEthernet0/4
switchport access vlan 3
no ip address
!
interface FastEthernet0/5
switchport access vlan 3
no ip address
!
interface FastEthernet0/6
switchport access vlan 3
no ip address
!
interface FastEthernet0/7
switchport access vlan 3
no ip address
!
interface FastEthernet0/8
switchport access vlan 3
no ip address
!
interface FastEthernet0/9
switchport access vlan 4
no ip address
!
interface FastEthernet0/10
switchport access vlan 4
no ip address
!
interface FastEthernet0/11
switchport access vlan 4
no ip address
!
interface FastEthernet0/12
switchport access vlan 4
no ip address
!
interface FastEthernet0/13
switchport access vlan 4
no ip address
!
interface FastEthernet0/14
switchport access vlan 4
no ip address
!
interface FastEthernet0/15
switchport access vlan 4
no ip address
!
interface FastEthernet0/16
switchport access vlan 4
no ip address
!
interface FastEthernet0/17
switchport access vlan 4
no ip address
!
interface FastEthernet0/18
switchport access vlan 4
no ip address
!
interface FastEthernet0/19
switchport access vlan 4
no ip address
!
interface FastEthernet0/20
switchport access vlan 4
no ip address
!
interface FastEthernet0/21
no ip address
!
interface FastEthernet0/22
no ip address
!
interface FastEthernet0/23
no ip address
!
interface FastEthernet0/24
no ip address
!
interface GigabitEthernet0/1
no ip address
!
interface GigabitEthernet0/2
no ip address
!
interface Vlan1
no ip address
shutdown
!
interface Vlan2
ip address 10.100.100.254 255.255.255.0
!
interface Vlan3
ip address 10.100.101.254 255.255.255.0
ip access-group 3 in
ip access-group 3 out
!
interface Vlan4
ip address 10.100.102.254 255.255.255.0
ip access-group 4 in
ip access-group 4 out
!
ip classless
ip route 10.100.100.0 255.255.255.0 Vlan2
ip route 10.100.101.0 255.255.255.0 Vlan3
ip route 10.100.102.0 255.255.255.0 Vlan4
ip route 192.168.0.0 255.255.0.0 FastEthernet0/1 192.168.61.11
ip http server
!
!
!
access-list 1 deny 10.100.100.0 0.0.0.255
access-list 1 deny 10.100.102.0 0.0.0.255
access-list 1 permit any
access-list 3 deny 10.100.102.0 0.0.0.255
access-list 3 permit any
access-list 4 permit 10.100.100.0 0.0.0.255
access-list 4 permit 10.100.102.0 0.0.0.255
!
line con 0
line vty 0 4
login
line vty 5 15
login
!
end

评论
评论
发 布