0% found this document useful (0 votes)
6 views

S1#configure Terminal

Configuración de equipos CISCO

Uploaded by

XaviercitoSaltos
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

S1#configure Terminal

Configuración de equipos CISCO

Uploaded by

XaviercitoSaltos
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 4

S1#configure terminal

Enter configuration commands, one per line. End with CNTL/Z.


S1(config)#vlan 10
S1(config-vlan)#na
S1(config-vlan)#name Faculty/Staff
S1(config-vlan)#vlan 20
S1(config-vlan)#nam
S1(config-vlan)#name Students
S1(config-vlan)#vlan 30
S1(config-vlan)#nam
S1(config-vlan)#name Guest
S1(config-vlan)#vlan 99
S1(config-vlan)#nam
S1(config-vlan)#name Management&Native
S1(config-vlan)#vlan 150
S1(config-vlan)#name VOICE

S2#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
S2(config)#vlan 10
S2(config-vlan)#name Faculte/Staff
S2(config-vlan)#vlan 20
S2(config-vlan)#name Students
S2(config-vlan)#vlan 30
S2(config-vlan)#name Guest
S2(config-vlan)#vlan 99
S2(config-vlan)#name Management&Native
S2(config-vlan)#vlan 150
S2(config-vlan)#name VOICE
S2(config-vlan)#do wr
Building configuration...
[OK]
S2(config-vlan)#end
S2#
%SYS-5-CONFIG_I: Configured from console by console

S2#show vlan brief

VLAN Name Status Ports


---- -------------------------------- --------- -------------------------------
1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4
Fa0/5, Fa0/6, Fa0/7, Fa0/8
Fa0/9, Fa0/10, Fa0/11, Fa0/12
Fa0/13, Fa0/14, Fa0/15, Fa0/16
Fa0/17, Fa0/18, Fa0/19, Fa0/20
Fa0/21, Fa0/22, Fa0/23, Fa0/24
Gig0/1, Gig0/2
10 Faculty/Staff active
20 Students active
30 Guest active
99 Management&Native active
150 VOICE active
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active
S2#
S3(config)#interface FastEthernet 0/11
S3(config-if)#switchport mode access
S3(config-if)#switchport access vlan 10
S3(config-if)#do wr
Building configuration...
[OK]
S3(config-if)#exit
S3(config)#interface FastEthernet 0/18
S3(config-if)#switchport mode access
S3(config-if)#switchport access vlan 20
S3(config-if)#do wr
Building configuration...
[OK]
S3(config-if)#exit
S3(config)#interface FastEthernet 0/6
S3(config-if)#switchport mode access
S3(config-if)#switchport access vlan 30
S3(config-if)#do wr
Building configuration...
[OK]
S3(config-if)#end

***************************************************************************

S1>enable
S1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
S1(config)#interface range GigabitEthernet 0/1-2
S1(config-if-range)#switchport mode trunk
S1(config-if-range)#switchport trunk native vlan 99

S1#show interfaces trunk


Port Mode Encapsulation Status Native vlan
Gig0/1 on 802.1q trunking 99
Gig0/2 on 802.1q trunking 99

Port Vlans allowed on trunk


Gig0/1 1-1005
Gig0/2 1-1005

Port Vlans allowed and active in management domain


Gig0/1 1,10,20,30,88,99
Gig0/2 1,10,20,30,88,99

Port Vlans in spanning tree forwarding state and not pruned


Gig0/1 1,10,20,30,88,99
Gig0/2 1,10,20,30,88,99

------------------------------------------------
S2(config)#interface GigabitEthernet 0/1
S2(config-if)#switchport trunk native vlan 99
S2#show interfaces trunk
Port Mode Encapsulation Status Native vlan
Gig0/1 auto n-802.1q trunking 1

Port Vlans allowed on trunk


Gig0/1 1-1005
Port Vlans allowed and active in management domain
Gig0/1 1,10,20,30,88,99

Port Vlans in spanning tree forwarding state and not pruned


Gig0/1 10,20,30,88
-----------------------------------------------

S3(config)#interface GigabitEthernet 0/2


S3(config-if)#switchport trunk native vlan 99

*******************************************************************************

S2#show interfaces GigabitEthernet 0/1 switchport


Name: Gig0/1
Switchport: Enabled
Administrative Mode: dynamic auto
Operational Mode: trunk
Administrative Trunking Encapsulation: dot1q
Operational Trunking Encapsulation: dot1q
Negotiation of Trunking: On
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 99 (Native)
Voice VLAN: none
Administrative private-vlan host-association: none
Administrative private-vlan mapping: none
Administrative private-vlan trunk native VLAN: none
Administrative private-vlan trunk encapsulation: dot1q
Administrative private-vlan trunk normal VLANs: none
Administrative private-vlan trunk private VLANs: none
Operational private-vlan: none
Trunking VLANs Enabled: All
Pruning VLANs Enabled: 2-1001
Capture Mode Disabled
Capture VLANs Allowed: ALL
Protected: false
Unknown unicast blocked: disabled
Unknown multicast blocked: disabled
Appliance trust: none

S1#show interfaces GigabitEthernet 0/1 switchport


Name: Gig0/1
Switchport: Enabled
Administrative Mode: trunk
Operational Mode: trunk
Administrative Trunking Encapsulation: dot1q
Operational Trunking Encapsulation: dot1q
Negotiation of Trunking: On
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 99 (Native)
Voice VLAN: none
Administrative private-vlan host-association: none
Administrative private-vlan mapping: none
Administrative private-vlan trunk native VLAN: none
Administrative private-vlan trunk encapsulation: dot1q
Administrative private-vlan trunk normal VLANs: none
Administrative private-vlan trunk private VLANs: none
Operational private-vlan: none
Trunking VLANs Enabled: All
Pruning VLANs Enabled: 2-1001
Capture Mode Disabled
Capture VLANs Allowed: ALL
Protected: false
Unknown unicast blocked: disabled
Unknown multicast blocked: disabled
Appliance trust: none

S2#show vlan brief

VLAN Name Status Ports


---- -------------------------------- --------- -------------------------------
1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4
Fa0/5, Fa0/7, Fa0/8, Fa0/9
Fa0/10, Fa0/12, Fa0/13, Fa0/14
Fa0/15, Fa0/16, Fa0/17, Fa0/19
Fa0/20, Fa0/21, Fa0/22, Fa0/23
Fa0/24, Gig0/2
10 Faculty/Staff active Fa0/11
20 Students active Fa0/18
30 Guest(Default) active Fa0/6
88 Management active
99 Native active
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active

You might also like