Chapter 1: Packet Forwarding Flashcards
Define a VLAN
vlan “vlan-id”
name “vlanname”
Configure an Interface as a trunkport
switchport mode trunk
Configure an interface as an access port assigned to a specific VLAN
switchport mode access
switchport access {vlan “vlan-id” | name “name”}
configure a static MAC address entry
mac address-table static mac-address vlan “vlan id” interface “interface id”
Clear MAC addresses from the MAC address table
clear mac address-table dynamic [{address “MAC address” | interface “interface id” | vlan “vlan id”}]
Assign an IPv4 address to an interface
ip address “ip address subnet mask”
Assping an IPV6 address to an interface
ipv6 address “ipv6 address/prefix length”
Modify the SDM database
sdm prefer {vlan | advanced}
Display interfaces that are configured as a trunk port and the vlans they permit
show interfaces trunk
Display the list of VLANs and their associated ports
show vlan [{brief | id “vlan id” | name “vlan name” | summary}]
Display the MAC address table for a switch
show mac address-table [address “mac address” | dynamic | vlan “vlan id”]
Display the current interface state, including duplex speed and link state
show interfaces
Display the Layer 2 configuration information for a specific switchport
show interfaces “interface id” switchport
Display the ARP table
show ip arp [“mac address” | “ip address” | vlan “vlan id” | “interface id”]
Display the IP interface table
show ip interface [brief | “interface id” | vlan “vlan id”]