Vlan 2 y Sw Multilayer

download Vlan 2 y Sw Multilayer

of 4

Transcript of Vlan 2 y Sw Multilayer

Switch#shSwitch#show runningspanning-tree mode pvstspanning-tree extend system-id!vlan internal allocation policy ascending!interface FastEthernet0/1!interface FastEthernet0/2!interface FastEthernet0/3!interface FastEthernet0/4!interface FastEthernet0/5!interface FastEthernet0/6!interface FastEthernet0/7!interface FastEthernet0/8!interface GigabitEthernet0/1!interface Vlan1 no ip address!ip classlessip http server!!control-plane!!line con 0line vty 0 4 loginline vty 5 15 login!end

Switch#Switch#config terEnter configuration commands, one per line. End with CNTL/Z.

Switch(config)#vlan databaseCommand rejected: Bad VLAN list - character #1 is a non-numericcharacter ('d').Switch(config)#exitSwitch#*Mar 1 00:04:03.479: %SYS-5-CONFIG_I: Configured from console by consolev% Incomplete command.

Switch#vlan database% Warning: It is recommended to configure VLAN from config mode, as VLAN database mode is being deprecated. Please consult user documentation for configuring VTP/VLAN in config mode.

Switch(vlan)#vlan 17VLAN 17 added: Name: VLAN0017

Switch(vlan)#vlan 17 name LIMAVLAN 17 modified: Name: LIMA

Switch(vlan)#vlan 19 name AREQUIPAVLAN 19 added: Name: AREQUIPA

Switch(vlan)#applyAPPLY completed.

Switch(config)#interface vlan 17Switch(config-if)#*Mar 1 00:06:01.062: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan17, changed state to downSwitch(config-if)#ip address 11.0.0.1 255.0.0.0Switch(config-if)#no shutdownSwitch(config-if)#exitSwitch(config)#interface vlan 19Switch(config-if)#*Mar 1 00:06:42.443: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan19, changed state to downSwitch(config-if)#ip address 22.0.0.1 255.0.0.0Switch(config-if)#no shutdownSwitch(config-if)#exit

Switch(config)#interface fa0/1Switch(config-if)#switchport mode accessSwitch(config-if)#switchport access vlan 17Switch(config-if)#no shutdownSwitch(config-if)#exitSwitch(config)#interface fa0/2Switch(config-if)#switchport mode accessSwitch(config-if)#switchport access vlan 19Switch(config-if)#no shutdownSwitch(config-if)#exitSwitch(config)#ip routingSwitch(config)#endSwitch#*Mar 1 00:13:27.311: %SYS-5-CONFIG_I: Configured from console by consolesh% Type "show ?" for a list of subcommandsSwitch#show ip routeCodes: C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

Switch#show vlan

VLAN Name Status Ports---- -------------------------------- --------- -------------------------------1 default active Fa0/3, Fa0/4, Fa0/5, Fa0/6 Fa0/7, Fa0/8, Gi0/12 VLAN0002 active4 data active5 voz active10 Finance active14 VLAN0014 active15 local active17 LIMA active Fa0/119 AREQUIPA active Fa0/220 Engineering active30 Server-Farm1 active40 Server-farm2 active100 VLAN0100 active1002 fddi-default act/unsup1003 trcrf-default act/unsup1004 fddinet-default act/unsup1005 trbrf-default act/unsup

VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------1 enet 100001 1500 - - - - - 0 02 enet 100002 1500 - - - - - 0 04 enet 100004 1500 - - - - - 0 05 enet 100005 1500 - - - - - 0 010 enet 100010 1500 - - - - - 0 014 enet 100014 1500 - - - - - 0 015 enet 100015 1500 - - - - - 0 017 enet 100017 1500 - - - - - 0 019 enet 100019 1500 - - - - - 0 020 enet 100020 1500 - - - - - 0 030 enet 100030 1500 - - - - - 0 040 enet 100040 1500 - - - - - 0 0100 enet 100100 1500 - - - - - 0 01002 fddi 101002 1500 - - - - - 0 01003 trcrf 101003 4472 1005 3276 - - srb 0 01004 fdnet 101004 1500 - - - ieee - 0 01005 trbrf 101005 4472 - - 15 ibm - 0 0

VLAN AREHops STEHops Backup CRF---- ------- ------- ----------1003 0 0 off

--More--*Mar 1 00:21:10.102: %LINK-3-UPDOWN: Interface FastEthernet0/2, changed state to up*Mar 1 00:21:11.108: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed sRemote SPAN VLANs------------------------------------------------------------------------------

Primary Secondary Type Ports------- --------- ----------------- ------------------------------------------

Switch#*Mar 1 00:21:38.128: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan19, changed state to up*Mar 1 00:21:53.857: %LINK-3-UPDOWN: Interface FastEthernet0/1, changed state to up*Mar 1 00:21:54.863: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up*Mar 1 00:22:21.883: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan17, changed state to up