Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Router:
- interface Ethernet0/0
- no ip address
- ip nat inside
- full-duplex
- !
- interface Ethernet0/0.1
- encapsulation dot1Q 1 native
- ip address 192.168.1.254 255.255.255.0
- Switch:
- !
- interface FastEthernet0/1
- description Connection to Router (Trunk)
- switchport mode trunk
- switchport voice vlan 2
- duplex full
- spanning-tree portfast
- !
- !
- interface Vlan1
- ip address 192.168.1.253 255.255.255.0
- no ip route-cache
- !
- end
- Switch#sh int Fast0/1 switch
- Name: Fa0/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: 1 (default)
- Voice VLAN: 2 (VLAN_Voice)
- 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
- Switch#sh vlan
- VLAN Name Status Ports
- ---- -------------------------------- --------- -------------------------------
- 1 default active Fa0/2, Fa0/7, Fa0/8, Fa0/10, Fa0/13, Fa0/14, Fa0/16, Fa0/18, Fa0/22, Fa0/23, Fa0/24, Gi0/1, Gi0/2
- 2 VLAN_Voice active Fa0/2, Fa0/7, Fa0/8, Fa0/10, Fa0/13, Fa0/14, Fa0/16, Fa0/18, Fa0/22, Fa0/23, Fa0/24
- 1002 fddi-default act/unsup
- 1003 token-ring-default act/unsup
- 1004 fddinet-default act/unsup
- 1005 trnet-default act/unsup
- VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
- ---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
- 1 enet 100001 1500 - - - - - 0 0
- 2 enet 100002 1500 - - - - - 0 0
- 1002 fddi 101002 1500 - - - - - 0 0
- 1003 tr 101003 1500 - - - - - 0 0
- 1004 fdnet 101004 1500 - - - ieee - 0 0
- 1005 trnet 101005 1500 - - - ibm - 0 0
- Remote SPAN VLANs
- ------------------------------------------------------------------------------
- Primary Secondary Type Ports
- ------- --------- ----------------- ------------------------------------------
- Current configuration : 136 bytes
- !
- interface FastEthernet0/1
- description Connection to Router (Trunk)
- switchport mode trunk
- switchport voice vlan 2
- duplex full
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement