From badf4c5652c24adbd1a81a4bb75f2763c6999ec3 Mon Sep 17 00:00:00 2001 From: Vladimir Vitkov Date: Sun, 23 Oct 2016 00:00:11 +0300 Subject: [PATCH] Initial config loads - some more f2sw - renumber teamsw - renumber vocsw - renumber 2015-coresw - old coreswitch nocsw - incomplete - not loaded' --- switch-configs/2015-coresw.cfg | 288 +++++++++++++++++++++++++++++++++ switch-configs/f2sw.cfg | 57 ++++--- switch-configs/nocsw.cfg | 265 ++++++++++++++++++++++++++++++ switch-configs/teamsw.cfg | 49 +++--- switch-configs/vocsw.cfg | 51 +++--- 5 files changed, 639 insertions(+), 71 deletions(-) create mode 100644 switch-configs/2015-coresw.cfg create mode 100644 switch-configs/nocsw.cfg diff --git a/switch-configs/2015-coresw.cfg b/switch-configs/2015-coresw.cfg new file mode 100644 index 0000000..fc7a8aa --- /dev/null +++ b/switch-configs/2015-coresw.cfg @@ -0,0 +1,288 @@ +! +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +! +! THIS IS AN INVALID CONFIG +! +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +! +! +version 12.2 +no service pad +service timestamps debug datetime msec +service timestamps log datetime msec +no service password-encryption +! +hostname coresw +! +boot-start-marker +boot-end-marker +! +enable secret 5 $1$8usp$35DJcmvreOjWNKPY21auW/ +enable password @PW@ +! +! +! +no aaa new-model +switch 1 provision ws-c3750g-24ts +system mtu routing 1546 +vtp mode transparent +ip name-server 10.100.0.1 +! +! +! +! +crypto pki trustpoint TP-self-signed-448483968 + enrollment selfsigned + subject-name cn=IOS-Self-Signed-Certificate-448483968 + revocation-check none + rsakeypair TP-self-signed-448483968 +! +! +crypto pki certificate chain TP-self-signed-448483968 + certificate self-signed 01 + XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX C0 + quit +! +! +! +! +spanning-tree mode mst +spanning-tree extend system-id +! +vlan internal allocation policy ascending +! +vlan 50 + name external +! +vlan 51 + name philharmonic +! +vlan 100 + name mgmt +! +vlan 101 + name wired +! +vlan 102 + name wireless +! +vlan 103 + name video +! +vlan 104 + name overflow +! +! +! +! +interface GigabitEthernet1/0/1 + description nocsw + switchport trunk encapsulation dot1q + switchport mode trunk + spanning-tree portfast trunk +! +interface GigabitEthernet1/0/2 + description teamsw + switchport trunk encapsulation dot1q + switchport mode trunk + spanning-tree portfast trunk +! +interface GigabitEthernet1/0/3 + description wssw + switchport trunk encapsulation dot1q + switchport mode trunk + spanning-tree portfast trunk +! +interface GigabitEthernet1/0/4 + description UNUSED + switchport access vlan 100 + switchport mode access + shutdown + spanning-tree portfast trunk +! +interface GigabitEthernet1/0/5 + description eagle + switchport access vlan 103 + spanning-tree portfast trunk +! +interface GigabitEthernet1/0/6 + description eagle + switchport access vlan 103 + switchport mode access + spanning-tree portfast trunk +! +interface GigabitEthernet1/0/7 + description eric/main + switchport trunk encapsulation dot1q + switchport mode trunk + spanning-tree portfast trunk +! +interface GigabitEthernet1/0/8 + description external/netx + switchport access vlan 50 + switchport mode access + spanning-tree portfast trunk +! +interface GigabitEthernet1/0/9 + description encoder + switchport access vlan 103 + spanning-tree portfast trunk +! +interface GigabitEthernet1/0/10 + spanning-tree portfast trunk +! +interface GigabitEthernet1/0/11 + description philharmonic + switchport access vlan 51 + switchport mode access + spanning-tree portfast trunk +! +interface GigabitEthernet1/0/12 + description philharmonic + switchport access vlan 51 + switchport mode access + spanning-tree portfast trunk +! +interface GigabitEthernet1/0/13 + shutdown + spanning-tree portfast trunk +! +interface GigabitEthernet1/0/14 + shutdown + spanning-tree portfast trunk +! +interface GigabitEthernet1/0/15 + shutdown + spanning-tree portfast trunk +! +interface GigabitEthernet1/0/16 + shutdown + spanning-tree portfast trunk +! +interface GigabitEthernet1/0/17 + shutdown + spanning-tree portfast trunk +! +interface GigabitEthernet1/0/18 + shutdown + spanning-tree portfast trunk +! +interface GigabitEthernet1/0/19 + shutdown + spanning-tree portfast trunk +! +interface GigabitEthernet1/0/20 + shutdown + spanning-tree portfast trunk +! +interface GigabitEthernet1/0/21 + shutdown + spanning-tree portfast trunk +! +interface GigabitEthernet1/0/22 + description mgmt + switchport access vlan 100 + switchport mode access + shutdown + spanning-tree portfast trunk +! +interface GigabitEthernet1/0/23 + shutdown + spanning-tree portfast trunk +! +interface GigabitEthernet1/0/24 + description test-ap + switchport trunk encapsulation dot1q + switchport trunk allowed vlan 100,102 + switchport mode trunk + shutdown + spanning-tree portfast trunk +! +interface GigabitEthernet1/0/25 + spanning-tree portfast trunk +! +interface GigabitEthernet1/0/26 + spanning-tree portfast trunk +! +interface GigabitEthernet1/0/27 + spanning-tree portfast trunk +! +interface GigabitEthernet1/0/28 + spanning-tree portfast trunk +! +interface Vlan1 + no ip address +! +interface Vlan100 + ip address 10.100.0.11 255.255.255.0 +! +ip classless +ip http server +ip http secure-server +! +! +! +snmp-server community @SNMP_PW@ RO +snmp-server trap-source Vlan100 +snmp-server enable traps snmp authentication linkdown linkup coldstart warmstart +snmp-server enable traps transceiver all +snmp-server enable traps tty +snmp-server enable traps eigrp +snmp-server enable traps ospf state-change +snmp-server enable traps ospf errors +snmp-server enable traps ospf retransmit +snmp-server enable traps ospf lsa +snmp-server enable traps ospf cisco-specific state-change nssa-trans-change +snmp-server enable traps ospf cisco-specific state-change shamlink interface-old +snmp-server enable traps ospf cisco-specific state-change shamlink neighbor +snmp-server enable traps ospf cisco-specific errors +snmp-server enable traps ospf cisco-specific retransmit +snmp-server enable traps ospf cisco-specific lsa +snmp-server enable traps cluster +snmp-server enable traps fru-ctrl +snmp-server enable traps entity +snmp-server enable traps cpu threshold +snmp-server enable traps power-ethernet group 1-9 +snmp-server enable traps power-ethernet police +snmp-server enable traps vtp +snmp-server enable traps vlancreate +snmp-server enable traps vlandelete +snmp-server enable traps flash insertion removal +snmp-server enable traps port-security +snmp-server enable traps auth-framework sec-violation +snmp-server enable traps dot1x auth-fail-vlan guest-vlan no-auth-fail-vlan no-guest-vlan +snmp-server enable traps envmon fan shutdown supply temperature status +snmp-server enable traps stackwise +snmp-server enable traps license +snmp-server enable traps bgp +snmp-server enable traps cef resource-failure peer-state-change peer-fib-state-change inconsistency +snmp-server enable traps config-copy +snmp-server enable traps config +snmp-server enable traps config-ctid +snmp-server enable traps event-manager +snmp-server enable traps hsrp +snmp-server enable traps ipmulticast +snmp-server enable traps isis +snmp-server enable traps msdp +snmp-server enable traps pim neighbor-change rp-mapping-change invalid-pim-message +snmp-server enable traps energywise +snmp-server enable traps vstack +snmp-server enable traps bridge newroot topologychange +snmp-server enable traps stpx inconsistency root-inconsistency loop-inconsistency +snmp-server enable traps syslog +snmp-server enable traps rtr +snmp-server enable traps mac-notification change move threshold +snmp-server enable traps vlan-membership +snmp-server enable traps errdisable +snmp-server host 10.100.0.1 version 2c @SNMP_PW@ +! +! +line con 0 +line vty 0 4 + password @PW@ + login +line vty 5 15 + password @PW@ + login +! +end diff --git a/switch-configs/f2sw.cfg b/switch-configs/f2sw.cfg index 78d1fbc..5b4b2bf 100644 --- a/switch-configs/f2sw.cfg +++ b/switch-configs/f2sw.cfg @@ -1,27 +1,27 @@ !TL-SG3210 # -vlan 2,50,100-104 +vlan 2,10,20-24 # vlan 2 name "initlab" # -vlan 50 -name "netx/uplink" +vlan 10 +name "of-ext" # -vlan 100 -name "mgmt" +vlan 20 +name "of-mgmt" # -vlan 101 -name "wired" +vlan 21 +name "of-wired" # -vlan 102 -name "wireless" +vlan 22 +name "of-wifi" # -vlan 103 -name "video" +vlan 23 +name "of-video" # -vlan 104 -name "overflow" +vlan 24 +name "of-overflow" # # # @@ -35,10 +35,11 @@ no logging file flash # enable password @PW@ # -system-time ntp UTC+08:00 133.100.9.2 139.78.100.163 12 +system-time ntp UTC+02:00 10.20.0.1 79.98.105.18 4 # spanning-tree spanning-tree mode mstp + name openfest # # user name admin privilege admin password 0 @PW@ @@ -51,28 +52,31 @@ no ip http server # # snmp-server +snmp-server engineID local 80002e5703c46e1f44c0e8 snmp-server community "@SNMP_PW@" read-only "viewDefault" # -snmp-server host 10.100.0.1 161 "monitoring" smode v2c slev noAuthNoPriv type trap +snmp-server host 10.20.0.1 161 "monitoring" smode v2c slev noAuthNoPriv type trap snmp-server traps flash snmp-server traps cpu snmp-server traps memory # interface gigabitEthernet 1/0/1 switchport mode trunk - switchport trunk allowed vlan 100-104 + switchport trunk allowed vlan 20-24 description "vocsw/trunk" spanning-tree + spanning-tree common-config portfast enable # interface gigabitEthernet 1/0/2 switchport mode trunk - switchport trunk allowed vlan 100-104 + switchport trunk allowed vlan 20-24 description "mussw/trunk" spanning-tree + spanning-tree common-config portfast enable # interface gigabitEthernet 1/0/3 switchport mode trunk - switchport trunk allowed vlan 100-104 + switchport trunk allowed vlan 20-24 description "team/trunk" spanning-tree spanning-tree common-config portfast enable @@ -84,24 +88,27 @@ interface gigabitEthernet 1/0/4 # interface gigabitEthernet 1/0/5 switchport mode trunk - switchport trunk allowed vlan 100,102 + switchport trunk allowed vlan 20,22 + description "wifi/ap12" spanning-tree spanning-tree common-config portfast enable # interface gigabitEthernet 1/0/6 switchport mode trunk - switchport trunk allowed vlan 100,102 + switchport trunk allowed vlan 20,22 + description "wifi/ap13" spanning-tree spanning-tree common-config portfast enable # interface gigabitEthernet 1/0/7 - switchport access vlan 101 + switchport access vlan 21 description "usersw/f2" spanning-tree spanning-tree common-config portfast enable # interface gigabitEthernet 1/0/8 - switchport access vlan 104 + switchport access vlan 24 + description "overflow/tv" spanning-tree spanning-tree common-config portfast enable # @@ -119,9 +126,9 @@ interface gigabitEthernet 1/0/10 spanning-tree spanning-tree common-config portfast enable # -ip management-vlan 100 -interface vlan 100 -ip address 10.100.0.17 255.255.255.0 +ip management-vlan 20 +interface vlan 20 +ip address 10.20.0.17 255.255.255.0 10.20.0.1 # # line vty 0 0 diff --git a/switch-configs/nocsw.cfg b/switch-configs/nocsw.cfg new file mode 100644 index 0000000..6eaae21 --- /dev/null +++ b/switch-configs/nocsw.cfg @@ -0,0 +1,265 @@ +! +version 12.2 +no service pad +service timestamps debug datetime msec +service timestamps log datetime msec +no service password-encryption +! +hostname nocsw +! +boot-start-marker +boot-end-marker +! +enable secret 5 @HEX@ +enable password @PW@ +! +! +! +no aaa new-model +switch 1 provision ws-c3750g-24ts +system mtu routing 1546 +vtp mode transparent +ip name-server 10.20.0.1 +! +! +! +! +! +! +! +! +spanning-tree mode mst +spanning-tree extend system-id +! +vlan internal allocation policy ascending +! +vlan 10 + name external +! +vlan 20 + name of-mgmt +! +vlan 21 + name of-wired +! +vlan 22 + name of-wireless +! +vlan 23 + name of-video +! +vlan 24 + name of-overflow +! +! +! +! +interface GigabitEthernet1/0/1 + description vocsw + switchport trunk encapsulation dot1q + switchport mode trunk + spanning-tree portfast trunk +! +interface GigabitEthernet1/0/2 + shutdown + spanning-tree portfast trunk +! +interface GigabitEthernet1/0/3 + description ext-1 + switchport access vlan 10 + switchport mode access + spanning-tree portfast trunk +! +interface GigabitEthernet1/0/4 + description ext-2 + switchport access vlan 10 + switchport mode access + spanning-tree portfast trunk +! +interface GigabitEthernet1/0/5 + description of-mgmt-1 + switchport access vlan 20 + switchport mode access + spanning-tree portfast trunk +! +interface GigabitEthernet1/0/6 + description of-mgmt-2 + switchport access vlan 20 + switchport mode access + spanning-tree portfast trunk +! +interface GigabitEthernet1/0/7 + description of-mgmt-3 + switchport access vlan 20 + switchport mode access + spanning-tree portfast trunk +! +interface GigabitEthernet1/0/8 + description of-mgmt-4 + switchport access vlan 20 + switchport mode access + spanning-tree portfast trunk +! +interface GigabitEthernet1/0/9 + description of-wired-1 + switchport access vlan 21 + switchport mode access + spanning-tree portfast trunk +! +interface GigabitEthernet1/0/10 + description of-wired-2 + switchport access vlan 21 + switchport mode access + spanning-tree portfast trunk +! +interface GigabitEthernet1/0/11 + description of-wired-3 + switchport access vlan 21 + switchport mode access + spanning-tree portfast trunk +! +interface GigabitEthernet1/0/12 + description of-wired-4 + switchport access vlan 21 + switchport mode access + spanning-tree portfast trunk +! +interface GigabitEthernet1/0/13 + description of-wireless-1 + switchport access vlan 22 + switchport mode access + spanning-tree portfast trunk +! +interface GigabitEthernet1/0/14 + description of-wireless-2 + switchport access vlan 22 + switchport mode access + spanning-tree portfast trunk +! +interface GigabitEthernet1/0/15 + description of-wireless-3 + switchport access vlan 22 + switchport mode access + spanning-tree portfast trunk +! +interface GigabitEthernet1/0/16 + description of-wireless-4 + switchport access vlan 22 + switchport mode access + spanning-tree portfast trunk +! +interface GigabitEthernet1/0/17 + description of-video-1 + switchport access vlan 23 + switchport mode access + spanning-tree portfast trunk +! +interface GigabitEthernet1/0/18 + description of-video-2 + switchport access vlan 23 + switchport mode access + spanning-tree portfast trunk +! +interface GigabitEthernet1/0/19 + description of-video-3 + switchport access vlan 23 + switchport mode access + spanning-tree portfast trunk +! +interface GigabitEthernet1/0/20 + description of-video-4 + switchport access vlan 23 + switchport mode access + spanning-tree portfast trunk +! +interface GigabitEthernet1/0/21 + description of-overflow-1 + switchport access vlan 24 + switchport mode access + spanning-tree portfast trunk +! +interface GigabitEthernet1/0/22 + description of-overflow-2 + switchport access vlan 24 + switchport mode access + spanning-tree portfast trunk +! +interface GigabitEthernet1/0/23 + shutdown +! +interface GigabitEthernet1/0/24 + shutdown +! +interface GigabitEthernet1/0/25 + shutdown + spanning-tree portfast trunk +! +interface GigabitEthernet1/0/26 + shutdown + spanning-tree portfast trunk +! +interface GigabitEthernet1/0/27 + shutdown + spanning-tree portfast trunk +! +interface GigabitEthernet1/0/28 + shutdown + spanning-tree portfast trunk +! +interface Vlan1 + no ip address +! +interface Vlan10 + ip address 10.20.0.19 255.255.255.0 +! +ip classless +no ip http server +no ip http secure-server +! +! +! +snmp-server community @SNMP_PW@ RO +snmp-server trap-source Vlan10 +snmp-server enable traps snmp authentication linkdown linkup coldstart warmstart +snmp-server enable traps transceiver all +snmp-server enable traps tty +snmp-server enable traps fru-ctrl +snmp-server enable traps entity +snmp-server enable traps cpu threshold +snmp-server enable traps vtp +snmp-server enable traps vlancreate +snmp-server enable traps vlandelete +snmp-server enable traps flash insertion removal +snmp-server enable traps port-security +snmp-server enable traps auth-framework sec-violation +snmp-server enable traps envmon fan shutdown supply temperature status +snmp-server enable traps license +snmp-server enable traps config-copy +snmp-server enable traps config +snmp-server enable traps config-ctid +snmp-server enable traps event-manager +snmp-server enable traps hsrp +snmp-server enable traps ipmulticast +snmp-server enable traps isis +snmp-server enable traps msdp +snmp-server enable traps pim neighbor-change rp-mapping-change invalid-pim-message +snmp-server enable traps vstack +snmp-server enable traps bridge newroot topologychange +snmp-server enable traps stpx inconsistency root-inconsistency loop-inconsistency +snmp-server enable traps syslog +snmp-server enable traps rtr +snmp-server enable traps mac-notification change move threshold +snmp-server enable traps vlan-membership +snmp-server enable traps errdisable +snmp-server host 10.20.0.1 version 2c @SNMP_PW@ +! +! +line con 0 +line vty 0 4 + password @PW@ + login +line vty 5 15 + password @PW@ + login +! +end diff --git a/switch-configs/teamsw.cfg b/switch-configs/teamsw.cfg index 3c84042..4f80999 100644 --- a/switch-configs/teamsw.cfg +++ b/switch-configs/teamsw.cfg @@ -1,28 +1,28 @@ !TL-SG3210 # -vlan 2,50,100-104 +vlan 2,10,20-24 # vlan 2 name "initlab" # -vlan 50 -name "netx/uplink" +vlan 10 +name "of-ext" # -vlan 100 -name "mgmt" +vlan 20 +name "of-mgmt" # -vlan 101 -name "wired" +vlan 21 +name "of-wired" # -vlan 102 -name "wireless" +vlan 22 +name "of-wifi" # -vlan 103 -name "video" +vlan 23 +name "of-video" # -vlan 104 -name "overflow" -# +vlan 24 +name "of-overflow" +# # # # @@ -35,10 +35,11 @@ no logging file flash # enable password @PW@ # -system-time ntp UTC+08:00 133.100.9.2 139.78.100.163 12 +system-time ntp UTC+02:00 10.20.0.1 79.98.105.18 4 # spanning-tree spanning-tree mode mstp + name openfest # # user name admin privilege admin password 0 @PW@ @@ -51,30 +52,32 @@ no ip http server # # snmp-server +snmp-server engineID local 80002e5703c46e1f44c0e8 snmp-server community "@SNMP_PW@" read-only "viewDefault" # -snmp-server host 10.100.0.1 161 "monitoring" smode v2c slev noAuthNoPriv type trap +snmp-server host 10.20.0.1 161 "monitoring" smode v2c slev noAuthNoPriv type trap snmp-server traps flash snmp-server traps cpu snmp-server traps memory # interface gigabitEthernet 1/0/1 switchport mode trunk - switchport trunk allowed vlan 100-104 + switchport trunk allowed vlan 20-24 description "coresw/trunk" spanning-tree spanning-tree common-config portfast enable # interface gigabitEthernet 1/0/2 switchport mode trunk - switchport trunk allowed vlan 100-104 + switchport trunk allowed vlan 20-24 description "f2sw/trunk" spanning-tree spanning-tree common-config portfast enable # interface gigabitEthernet 1/0/3 switchport mode trunk - switchport trunk allowed vlan 100-104 + switchport trunk allowed vlan 20-24 + description "teamsw/tr" spanning-tree spanning-tree common-config portfast enable # @@ -85,7 +88,7 @@ interface gigabitEthernet 1/0/4 # interface gigabitEthernet 1/0/5 switchport mode trunk - switchport trunk allowed vlan 100,102 + switchport trunk allowed vlan 20,22 description "ap-bulgaria-3-ac" spanning-tree spanning-tree common-config portfast enable @@ -96,12 +99,14 @@ interface gigabitEthernet 1/0/6 spanning-tree common-config portfast enable # interface gigabitEthernet 1/0/7 - switchport access vlan 103 + switchport access vlan 23 + description "vv/int/scenecam" spanning-tree spanning-tree common-config portfast enable # interface gigabitEthernet 1/0/8 - switchport access vlan 101 + switchport access vlan 21 + description "presenter" spanning-tree spanning-tree common-config portfast enable # diff --git a/switch-configs/vocsw.cfg b/switch-configs/vocsw.cfg index 6a7cd85..a356d45 100644 --- a/switch-configs/vocsw.cfg +++ b/switch-configs/vocsw.cfg @@ -1,27 +1,27 @@ !TL-SG3210 # -vlan 2,50,100-104 +vlan 2,10,20-24 # vlan 2 name "initlab" # -vlan 50 -name "netx/uplink" +vlan 10 +name "of-ext" # -vlan 100 -name "mgmt" +vlan 20 +name "of-mgmt" # -vlan 101 -name "wired" +vlan 21 +name "of-wired" # -vlan 102 -name "wireless" +vlan 22 +name "of-wifi" # -vlan 103 -name "video" +vlan 23 +name "of-video" # -vlan 104 -name "overflow" +vlan 24 +name "of-overflow" # # # @@ -35,10 +35,12 @@ no logging file flash # enable password @PW@ # -system-time ntp UTC+08:00 133.100.9.2 139.78.100.163 12 +system-time ntp UTC+02:00 10.20.0.1 79.98.105.18 4 # spanning-tree spanning-tree mode mstp +spanning-tree mst configuration + name openfest # # user name admin privilege admin password 0 @PW@ @@ -51,29 +53,30 @@ no ip http server # # snmp-server -snmp-server community "@SNMP_PW@" read-only "viewDefault" +snmp-server engineID local 80002e5703c46e1f44c0e8 +snmp-server community "@SNMP_PWPW@" read-only "viewDefault" # -snmp-server host 10.100.0.1 161 "monitoring" smode v2c slev noAuthNoPriv type trap +snmp-server host 10.20.0.1 161 "monitoring" smode v2c slev noAuthNoPriv type trap snmp-server traps flash snmp-server traps cpu snmp-server traps memory # interface gigabitEthernet 1/0/1 switchport mode trunk - switchport trunk allowed vlan 2,50,100-104 + switchport trunk allowed vlan 2,20-24 description "coresw/trunk" spanning-tree spanning-tree common-config portfast enable # interface gigabitEthernet 1/0/2 switchport mode trunk - switchport trunk allowed vlan 100-104 + switchport trunk allowed vlan 20-24 description "f2sw/trunk" spanning-tree # interface gigabitEthernet 1/0/3 switchport mode trunk - switchport trunk allowed vlan 2,50,100-104 + switchport trunk allowed vlan 2,10,20-24 description "nocsw/trunk" spanning-tree # @@ -84,7 +87,7 @@ interface gigabitEthernet 1/0/4 # interface gigabitEthernet 1/0/5 switchport mode trunk - switchport trunk allowed vlan 100,102-103 + switchport trunk allowed vlan 20,22-23 spanning-tree spanning-tree common-config portfast enable # @@ -94,7 +97,7 @@ interface gigabitEthernet 1/0/6 spanning-tree common-config portfast enable # interface gigabitEthernet 1/0/7 - switchport access vlan 103 + switchport access vlan 23 description "video/bulgaria" spanning-tree spanning-tree common-config portfast enable @@ -118,9 +121,9 @@ interface gigabitEthernet 1/0/10 spanning-tree spanning-tree common-config portfast enable # -ip management-vlan 100 -interface vlan 100 -ip address 10.100.0.12 255.255.255.0 +ip management-vlan 20 +interface vlan 20 +ip address 10.20.0.12 255.255.255.0 10.20.0.1 # # line vty 0 0