user manual

PurposeCommand or Action
Example:
Switch(config)# shutdown
Enables the interface.no shutdown
Step 9
Example:
Switch(config)# no shutdown
Returns to privileged EXEC mode.end
Example:
Switch(config)# end
Step 10
Displays the Layer 2 tunnel ports on the switch, including
the protocols configured, the thresholds, and the counters.
show l2protocol
Example:
Switch# show l2protocol
Step 11
(Optional) Saves your entries in the configuration file.copy running-config startup-config
Step 12
Example:
Switch# copy running-config startup-config
Use the no switchport mode trunk, the no udld
enable, and the no channel group
channel-group-number mode desirable interface
configuration commands to return the interface
to the default settings.
Note
Related Topics
Examples: Configuring the SP Edge and Customer Switches, on page 145
Configuration Examples for IEEE 802.1Q and Layer 2 Protocol
Tunneling
Example: Configuring an IEEE 802.1Q Tunneling Port
The following example shows how to configure an interface as a tunnel port, enable tagging of native VLAN
packets, and verify the configuration. In this configuration, the VLAN ID for the customer connected to
Gigabit Ethernet interface 7 on stack member 1 is VLAN 22.
Switch(config)# interface gigabitethernet1/0/7
Catalyst 2960-XR Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX1
OL-29440-01 143
Configuring IEEE 802.1Q and Layer 2 Protocol Tunneling
Configuration Examples for IEEE 802.1Q and Layer 2 Protocol Tunneling