Specifications
4-9
Cisco MWR 2941 Mobile Wireless Edge Router Software Configuration Guide, Release 12.2(33)MRB
OL-21227-02
Chapter 4 Configuring the Cisco MWR 2941 Router Using the CLI
Configuration Sequence
Step 1 Enter enable mode.
Router> enable
Router#
Step 2 Enter configuration mode.
Router# configure terminal
Router(config)#
Step 3 Enter configuration for the interface that you want to modify.
Router(config)# interface fastethernet 0/1
Step 4 Use the description command to assign a description to the interface.
Router(config-if)# description newinterface
Configuring a Layer 2 Interface as a Layer 2 Trunk
Follow these steps to configure an interface as a Layer 2 trunk.
Step 1 Enter enable mode.
Router> enable
Router#
Step 2 Enter configuration mode.
Router# configure terminal
Router(config)#
Step 3 Enter configuration for the interface that you want to modify.
Router(config)# interface gigabitethernet 0/1
Router(config-if)#
Step 4 Shut down the interface.
Router(config-if)# shutdown
Step 5 Use the switchport mode trunk command to configure the interface as a Layer 2 trunk.
Router(config-if)# switchport mode trunk
Note The encapsulation is always set to dot1q.
Step 6 If you are configuring an 802.1Q trunk, specify the native VLAN. Otherwise, proceed to the next step.
Router(config-if)# switchport trunk native vlan 1
Step 7 Use the switchport trunk allowed vlan command to configure the list of VLANs allowed on the trunk.
The add, except, none, or remove keywords specify the action to take for the specified VLANs.
Router(config-if)# switchport trunk allowed vlan add vlan1, vlan2, vlan3
Note All VLANs are allowed by default. You cannot remove any of the default VLANs from a trunk.