background image
Written Lab Appendix B
635
Written Lab Appendix B
I
n this lab, you will write out the commands to answer the questions.
1.
Write the command to display the configuration of the switch.
2.
Write the command to see the IP configuration of the switch.
3.
Write the command to see the MAC filter table.
4.
Write the command to set port e0/2 to a secure table size of 1.
5.
Write the command to assign MAC address 1234.4567.8912 to port
e0/1 as a permanent address.
Command
Description
show version
Gives the IOS information of the switch, as well
as the uptime and base Ethernet address
show vlan
Shows all configured VLANs
show vlan-membership
Shows all port VLAN assignments
show vtp
Shows the VTP configuration of a switch
trunk auto
Sets the port to auto trunking mode
trunk on
Sets a port to permanent trunking mode
vlan 2 name Sales
Creates a VLAN 2 named Sales
vlan-membership static 2
Assigns a static VLAN to a port
vtp client
Sets the switch to be a VTP client
vtp domain
Sets the domain name for the VTP configuration
vtp password
Sets a password on the VTP domain
vtp pruning enable
Makes the switch a pruning switch
vtp server
Sets the switch to be a VTP server
Copyright ©2002 SYBEX, Inc., Alameda, CA
www.sybex.com