3560(交换机) luannan-3560g#sh run Building configuration... Current configuration : 3964 bytes ! version 12.2 no service pad service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname luannan-3560g ! enable secret 5 $1$3Kfh$xt0Ivnc3pt06XljYwCHMe/ ! no aaa new-model ip subnet-zero ip routing no ip domain-lookup ! ! ! ! ! ! no file verify auto spanning-tree mode pvst spanning-tree extend system-id ! vlan internal allocation policy ascending ! ! interface GigabitEthernet0/1 ! interface GigabitEthernet0/2 ! interface GigabitEthernet0/3 ! interface GigabitEthernet0/4 ! interface GigabitEthernet0/5 ! interface GigabitEthernet0/6 ! interface GigabitEthernet0/7 ! interface GigabitEthernet0/8 ! interface GigabitEthernet0/9 ! interface GigabitEthernet0/10 ! interface GigabitEthernet0/11 ! interface GigabitEthernet0/12 ! interface GigabitEthernet0/13 ! interface GigabitEthernet0/14 ! interface GigabitEthernet0/15 ! interface GigabitEthernet0/16 ! interface GigabitEthernet0/17 switchport access vlan 20 switchport mode access ! interface GigabitEthernet0/18 ! interface GigabitEthernet0/19 ! interface GigabitEthernet0/20 ! interface GigabitEthernet0/21 ! interface GigabitEthernet0/22 ! interface GigabitEthernet0/23 ! interface GigabitEthernet0/24 ! interface GigabitEthernet0/25 ! interface GigabitEthernet0/26 ! interface GigabitEthernet0/27 ! interface GigabitEthernet0/28 ! interface GigabitEthernet0/29 ! interface GigabitEthernet0/30 ! interface GigabitEthernet0/31 ! interface GigabitEthernet0/32 ! interface GigabitEthernet0/33 ! interface GigabitEthernet0/34 ! interface GigabitEthernet0/35 ! interface GigabitEthernet0/36 ! interface GigabitEthernet0/37 ! interface GigabitEthernet0/38 ! interface GigabitEthernet0/39 ! interface GigabitEthernet0/40 ! interface GigabitEthernet0/41 ! interface GigabitEthernet0/42 ! interface GigabitEthernet0/43 ! interface GigabitEthernet0/44 ! interface GigabitEthernet0/45 ! interface GigabitEthernet0/46 ! interface GigabitEthernet0/47 ! interface GigabitEthernet0/48 switchport trunk encapsulation dot1q switchport mode trunk ! interface GigabitEthernet0/49 ! interface GigabitEthernet0/50 ! interface GigabitEthernet0/51 ! interface GigabitEthernet0/52 ! interface Vlan1 ip address 172.16.0.3 255.255.255.0 ip address 192.168.100.254 255.255.255.0 ! interface Vlan2 ip address 192.168.2.254 255.255.255.0 ! interface Vlan3 ip address 192.168.3.254 255.255.255.0 ! interface Vlan4 ip address 192.168.4.254 255.255.255.0 ! interface Vlan5 ip address 192.168.5.254 255.255.255.0 ! interface Vlan6 ip address 192.168.6.254 255.255.255.0 ! interface Vlan7 ip address 192.168.7.254 255.255.255.0 ! interface Vlan8 ip address 192.168.8.254 255.255.255.0 ! interface Vlan9 ip address 192.168.9.254 255.255.255.0 ! interface Vlan10 ip address 192.168.10.254 255.255.255.0 ! interface Vlan11 ip address 192.168.11.254 255.255.255.0 ! interface Vlan12 ip address 192.168.12.254 255.255.255.0 ! interface Vlan13 ip address 192.168.13.254 255.255.255.0 ! interface Vlan14 ip address 192.168.14.254 255.255.255.0 ! interface Vlan15 ip address 192.168.15.254 255.255.255.0 ! interface Vlan16 ip address 192.168.16.254 255.255.255.0 ! interface Vlan17 ip address 192.168.17.254 255.255.255.0 ! interface Vlan18 ip address 192.168.18.254 255.255.255.0 ! interface Vlan19 ip address 192.168.19.254 255.255.255.0 ! interface Vlan20 ip address 192.168.20.254 255.255.255.0 ! interface Vlan21 ip address 192.168.21.254 255.255.255.0 ! interface Vlan22 ip address 192.168.22.254 255.255.255.0 ! interface Vlan23 ip address 192.168.23.254 255.255.255.0 ! interface Vlan24 ip address 192.168.24.254 255.255.255.0 ! interface Vlan25 ip address 192.168.25.254 255.255.255.0 ! ip classless ip route 0.0.0.0 0.0.0.0 172.16.0.254 ip http server ip http secure-server ! ! ! control-plane ! ! line con 0 password liuchao login line vty 0 4 password liuchao login line vty 5 15 password liuchao login ! ! monitor session 1 source interface Gi0/1 monitor session 1 destination interface Gi0/2 end
|