Advertisement
Guest User

Untitled

a guest
May 25th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.97 KB | None | 0 0
  1. Router:
  2.  
  3. interface Ethernet0/0
  4. no ip address
  5. ip nat inside
  6. full-duplex
  7. !
  8. interface Ethernet0/0.1
  9. encapsulation dot1Q 1 native
  10. ip address 192.168.1.254 255.255.255.0
  11.  
  12. Switch:
  13.  
  14. !
  15. interface FastEthernet0/1
  16. description Connection to Router (Trunk)
  17. switchport mode trunk
  18. switchport voice vlan 2
  19. duplex full
  20. spanning-tree portfast
  21. !
  22.  
  23. !
  24. interface Vlan1
  25. ip address 192.168.1.253 255.255.255.0
  26. no ip route-cache
  27.  
  28. !
  29. end
  30.  
  31.  
  32.  
  33.  
  34. Switch#sh int Fast0/1 switch
  35. Name: Fa0/1
  36. Switchport: Enabled
  37. Administrative Mode: trunk
  38. Operational Mode: trunk
  39. Administrative Trunking Encapsulation: dot1q
  40. Operational Trunking Encapsulation: dot1q
  41. Negotiation of Trunking: On
  42. Access Mode VLAN: 1 (default)
  43. Trunking Native Mode VLAN: 1 (default)
  44. Voice VLAN: 2 (VLAN_Voice)
  45. Administrative private-vlan host-association: none
  46. Administrative private-vlan mapping: none
  47. Administrative private-vlan trunk native VLAN: none
  48. Administrative private-vlan trunk encapsulation: dot1q
  49. Administrative private-vlan trunk normal VLANs: none
  50. Administrative private-vlan trunk private VLANs: none
  51. Operational private-vlan: none
  52. Trunking VLANs Enabled: ALL
  53. Pruning VLANs Enabled: 2-1001
  54. Capture Mode Disabled
  55. Capture VLANs Allowed: ALL
  56. Protected: false
  57. Unknown unicast blocked: disabled
  58. Unknown multicast blocked: disabled
  59. Appliance trust: none
  60.  
  61.  
  62.  
  63. Switch#sh vlan
  64.  
  65. VLAN Name Status Ports
  66. ---- -------------------------------- --------- -------------------------------
  67. 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
  68. 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
  69. 1002 fddi-default act/unsup
  70. 1003 token-ring-default act/unsup
  71. 1004 fddinet-default act/unsup
  72. 1005 trnet-default act/unsup
  73.  
  74. VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
  75. ---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
  76. 1 enet 100001 1500 - - - - - 0 0
  77. 2 enet 100002 1500 - - - - - 0 0
  78. 1002 fddi 101002 1500 - - - - - 0 0
  79. 1003 tr 101003 1500 - - - - - 0 0
  80. 1004 fdnet 101004 1500 - - - ieee - 0 0
  81. 1005 trnet 101005 1500 - - - ibm - 0 0
  82.  
  83. Remote SPAN VLANs
  84. ------------------------------------------------------------------------------
  85.  
  86.  
  87. Primary Secondary Type Ports
  88. ------- --------- ----------------- ------------------------------------------
  89.  
  90.  
  91.  
  92. Current configuration : 136 bytes
  93. !
  94. interface FastEthernet0/1
  95. description Connection to Router (Trunk)
  96. switchport mode trunk
  97. switchport voice vlan 2
  98. duplex full
  99. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement