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;
26 Cards in this Set
- Front
- Back
To configure static vlans you first define/ create the vlan. Its immediately created and stored in vlan database
|
switch(config)# vlan [vlan-num]
|
|
To name a vlan. Is optional and can be up to 32 characters, no spaces.
|
switch(config-vlan)# name [vlan-name]
|
|
To delete a vlan
|
switch(config)# no vlan [vlan-num]
|
|
To put the interface is in layer 2 mode. Use no to put in layer 3 mode
|
switch(config-if)# [no] switchport
|
|
To give a port a static vlan membership. First cmd forces port to be assigned only to a single vlan
|
switch(config-if)# switchport mode access then switch(config-if)# switchport access vlan [vlan-num]
|
|
To configure the switch ports trunk encapsulation (tagging the packets).
|
switch(config-if)# switchport trunk encapsulation [ISL |dot1q | negotiate]
|
|
To configure the native vlan for IEEE 802.1Q
|
switch(config-if)# switchport trunk native vlan [vlan-id]
|
|
To define which Vlans can be trunked over a link
|
switch(config-if)# switchport trunk allowed vlan [vlan-list | all | add [vlan-list] | except [vlan-list] | remove [vlan-list]]
|
|
To set the switch ports trunking mode.
|
switch(config-if)# switchport mode [trunk | dynamic desirable | dynamic auto]
|
|
In all trunking modes DTPs are sent every 30 secs. Not really needed both ends fixed to trunk, so to disable DTP completely.
|
switch(config-if)# switchport no negotiate
|
|
To show trunking status on a switch port and see more concise information about it. eg encapsulation, vlans allowed on trunk
|
switch# show interface [type] [mod/num] trunk
|
|
To verify a vlans configuration. Shows a list of all vlans, status and the ports in each vlan
|
switch# show vlan id [vlan-id]
|
|
To see if and how DTP is being used on a switch. Specifying an interface shows the DTP activity in greater detail.
|
switch# show dtp interface [type] [mod/num]
|
|
To compare trunk configuration and active parameters. Eg encapsulation, DTP mode, vlans allowed over port
|
switch# show interface [type] [mod/num] switchport
|
|
To assign a switch to a vtp management domain. A switch can be a member of only 1 VTP management domain.
|
switch(config)# vtp domain [domain-name]
|
|
To configure the VTP mode
|
switch(config)# vtp mode [server | client | transparent]
|
|
To define an optional vtp password (1 - 32 case-sensitive characters). Password not sent, MD5 hash code of password is computed and sent.
|
switch(config)# vtp password [password]
|
|
To configure the VTP Version number. 1 is the default.
|
switch(config)# vtp version [1 | 2]
|
|
To enable VTP pruning (disabled by default). If enable on 1 vtp server, advertises and enables on all other listening switches.
|
switch(config)# vtp pruning
|
|
To select the vlans that are eligible for pruning on a trunk interface. So stops vlans being advertised or used on that trunk
|
switch(config-if)# switchport trunk pruning vlan [add | except | none | remove] [vlan-list]
|
|
How do you reset the config revision number on a server. (Cant do on client since comes directly from same number on the server).
|
Either set VTP domain name to null or bogus name and back again, or switch to transparent mode and back again.
|
|
To show current VTP parameters for a management domain including last advertising server, version number., number of existing vlans, config revision
|
switch(config)# show vtp status
|
|
To show VTP message & error counters, VTP advertisements and pruning statistics. Can see whether switch is interacting with other VTP nodes in domain. Info about advertisements
|
switch(config)# show vtp counters
|
|
Displays defined VLANs
|
switch(config)# show vlan brief
|
|
Displays trunk status, including pruning eligibility
|
switch# show interface [type] [mod/num] switchport
|
|
Displays VTP pruning state.
|
switch# show interface [type] [mod/num] pruning
|