wiki:site:cisco:ccnp:switch:vlan_trunks
This is an old revision of the document!
VLAN Trunks
ISL - Inter Switch Link (Cisco)
- Enkapsuluje celý L2 rámec
- 26-byte header (15-bit VLAN ID)
- 4-byte trailer (CRC)
- občas nazývaný double tagging
802.1Q - Standard
- 4-byte pole vložené hned za SRC MAC
- single tagging, internal tagging
- native VLAN = netagovaná
- první 2 byty = TPID (Tag Protocol Identifier) vždy 0x8100 (802.1Q)
- další 2 byty = TCI (Tag Control Information)
- 3-bity CoS (Class of Service 802.1Q/802.1p)
- 1-bit CFI (Canonical Format Indicator) - určuje zda se jedná o Ethernet nebo TokenRing. Nazývá se též little-endian, big-endian format
- 12-bitů VID (VLAN Identifier) 0-4095 (0,1 a 4095 rezervovány)
DTP (Cisco )- Dynamic Trunking Protocol
- Sjednává trunk (ISL nebo dot1Q)
- Switche musí být ve stejné VTP doméně (nebo NULL doméně, VTP domain není nakonfigurována)
SW# no-isl-entries enable
Switch(config)# interface type mod/port
Switch(config-if)# switchport
Switch(config-if)# switchport mode {dynamic {auto | desirable} | trunk}
Switch(config-if)# switchport trunk encapsulation {isl | dot1q | negotiate}
Switch(config-if)# switchport nonnegotiate
Switch(config-if)# switchport trunk native vlan vlan-id
Switch(config-if)# switchport trunk allowed vlan {vlan-list | all | {add | except | remove} vlan-list}
Vypnutí DTP:
Switch(config-if)# switchport nonegotiate
Switch# show running-config
Switch# show interface type mod/port
Switch# show vlan id vlan-id
Switch# show interface type mod/num switchport | trunk
Switch# show dtp [interface type mod/num]
wiki/site/cisco/ccnp/switch/vlan_trunks.1516097249.txt.gz · Last modified: by root
