3-tier design/Tunksconfig

From Teknologisk videncenter
Jump to: navigation, search

Distribution Switch configuration

HQD1D1(config)#<input>int fa 0/1</input>
HQD1D1(config-if)#<input>swi tru en dot</input>
HQD1D1(config-if)#<input>swi mode tru</input>
HQD1D1(config-if)#<input>end</input>
HQD1D1#
%SYS-5-CONFIG_I: Configured from console by console
HQD1D1#<input>show int fa 0/1 switchport</input> 
Name: Fa0/1
Switchport: Enabled
<notice>Administrative Mode: trunk
Operational Mode: trunk</notice>
Administrative Trunking Encapsulation: dot1q
<notice>Operational Trunking Encapsulation: dot1q</notice>
Negotiation of Trunking: On
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 1 (default)
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
<notice>Trunking VLANs Enabled: All</notice>
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

HQD1D1#

Access switch configuration

HQD1A1(config)#<input>int ra gi 0/1 - 2</input>
HQD1A1(config-if-range)#<input>swi mode trunk</input> 
HQD1A1(config-if-range)#<input>end</input>
HQD1A1#<input>show inter gi 0/1 switchport</input> 
Name: Gig0/1
Switchport: Enabled
<notice>Administrative Mode: trunk
Operational Mode: trunk</notice>
Administrative Trunking Encapsulation: dot1q
<notice>Operational Trunking Encapsulation: dot1q</notice>
Negotiation of Trunking: On
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 1 (default)
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
<notice>Trunking VLANs Enabled: ALL</notice>
Pruning VLANs Enabled: 2-1001
Capture Mode Disabled
Capture VLANs Allowed: ALL
Protected: false
Appliance trust: none
HQD1A1#