Configuring An Ethernet Interface As A Layer 2 Trunk - Cisco NM-8B-U - HW ROUTERS L-M User Manual

16- and 36-port ethernet switch module for cisco 2600 series, cisco 3600 series, and cisco 3700 series
Table of Contents

Advertisement

Configuration Tasks
5 minute output rate 0 bits/sec, 0 packets/sec
Router#
Configuring a Description for an Interface
You can add a description about an interface to help you remember its function. The description appears
in the output of the following commands: show configuration, show running-config, and show
interfaces.
To add a description for an interface, use the description command in interface configuration mode:
Command
Step 1
Router(config-if)# description string

Configuring an Ethernet Interface as a Layer 2 Trunk

To configure an Ethernet interface as a Layer 2 trunk, use the following commands beginning in global
configuration mode:
Command
Step 1
Router(config)# interface {ethernet |
fastethernet} slot/port
Step 2
Router(config-if)# shutdown
Step 3
Router(config-if)# switch port mode trunk
Step 4
Router(config-if)# switch port trunk native vlan
vlan-num
Step 5
Router(config-if)# switch port trunk allowed vlan
{add | except | none | remove}
vlan1[,vlan[,vlan[,...]]
Step 6
Router(config-if)# no shutdown
Step 7
Router(config-if)# end
Ports do not support Dynamic Trunk Protocol (DTP). Ensure that the neighboring switch is set to a mode
Note
that will not send DTP.
Cisco IOS Release 12.2(2)XT, 12.2(8)T, and 12.2(15)ZJ
50
16- and 36-Port Ethernet Switch Module for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series
0 packets input, 0 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 input packets with dribble condition detected
3 packets output, 1074 bytes, 0 underruns(0/0/0)
0 output errors, 0 collisions, 5 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped out
Purpose
Adds a description for an interface.
Purpose
Selects the interface to configure.
(Optional) Shuts down the interface to prevent traffic flow
until configuration is complete.
Encapsulation is always dot1q.
Note
Configures the interface as a Layer 2 trunk.
For 802.1Q trunks, specifies the native VLAN.
(Optional) Configures the list of VLANs allowed on the
trunk. All VLANs are allowed by default. You cannot
remove any of the default VLANs from a trunk.
Activates the interface. (Required only if you shut down
the interface.)
Exits configuration mode.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents