• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/15

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

15 Cards in this Set

  • Front
  • Back

VLAN Tagging 802.1q

•Four Parts of a VLAN TAG:



•TYPE: “Tag protocol” defines mediaprotocol (Ethernet)




•Priority: Used for QOS




•Canonical Format Identifier(Token Ring)




•VLAN Identification (VLAN 10)

Trunking Rules

•Both ends must have the same native VLAN.



•Both ends must be configured withtrunking on or so that trunking is negotiated with the other end and comes on.




•Subnetting and addressing must be right.




•The right VLANs must be allowed on thetrunk.

Dynamic Auto

This mode will form a trunk link if theother side of the link is set to Trunk or Dynamic desirable.

Dynamic Desirable

This mode actively tries to convert the link into a trunk

Trunk this mode

Forces the interface to be a trunk link and nothing else

Scripted

•Make a port into a trunk port and tell itwhich VLAN is native.



•By default native VLAN is 1.




•SW1(config)#int fa0/1




•SW1(config-if)switchportmode trunk




•SW1(config-if)switchporttrunk native vlan 99

Native VLAN in Trunking

•Untagged frames received on a trunk portare forwarded on to the native VLAN.




•Frame received from the native VLANshould be untagged.




•Switch will drop tagged frames receivedfrom the native VLAN. This can happen if non-Cisco devices are connected.

Scripting Configuring Trunk Links

•Configure a trunk link to pass VLANS



•This will allow VLANs 10, 20, 30, and 99to transit the trunk link




•SW1(config-if)#switchporttrunk allowed vlan 10,20,30,99

Scripting Configuring Trunk Links (continue)

•assign a default gateway to each VLANthat we want to route.



•The IP address must be within the IPsubnet and will be assigned to the router sub-interface.


•SW1(config)#ipdefault-gateway (x.x.x.x x.x.x.x)



All together Script for Configuring Trunk Links

•SW1(config)#intfa0/1



•SW1(config-if)switchportmode trunk




•SW1(config-if)switchporttrunk native vlan 99




•SW1(config-if)#switchporttrunk allowed vlan 10,20,30,99

Configuring Router on a Stick Scripting

•First we must enter the sub interfaceconfiguration that is connected to the switch.



•R1(config)#interfacef0/0.10




•Now that the sub-interface has beencreated we must configure it to accept 802.1q frames.




•R1(config-subif)#encapsulationdot1q 10




•The10 denotes the VLAN ID in this case VLAN 10!X




•assign the sub-interface the ipaddress of the default gateway for VLAN 10.




•R1(config-subif)#ipaddress x.x.x.xx.x.x.x

All together Script for Router on a Stick

•R1(config)#interface f0/0.10



•R1(config-subif)#encapsulationdot1q 10




•R1(config-subif)#ipaddress 172.17.10.1 255.255.255.0




•(add any other subinterfaces)•R1(config-subif)#interfacef0/0




•R1(config-if)#no shutdown

Multi-Layer Switching

A multilayer switch can route betweenVLANs.



The Difference between the two methods



Router on a Stick uses sub interfaces




Multi-layer switching uses SwitchedVirtual interfaces

Scripting Configuring Multi-Layer switching

•First step is we must enable the layerthree functionalityof the switch.



•Switch(config)#IPRouting




•createSwitchedVirtual Interfaces for each VLAN that we want to be routed.




•Switch(config)#interfaceVLAN 10




•Assign the ip address of the default gateway to the SVI



•Switch(config-vlan)#ipaddress 172.17.10.1 255.255.255.0




•switch(config-if)#noshutdown




•establisharoute to the router this can be done by a static route or a routing protocol.

All Together Script for Multi-Layer Switching

•Switch(config)#IP Routing


•Switch(config)#interface VLAN10



•Switch(config-vlan)#ip address 172.17.10.1 255.255.255.0




•Switch(config-if)#no shutdown