Cisco ME 3400G-2CS - Ethernet Access Switch Software Configuration Manual page 243

Ethernet access switch
Hide thumbs Also See for ME 3400G-2CS - Ethernet Access Switch:
Table of Contents

Advertisement

Configuring VLAN Trunks
Beginning in privileged EXEC mode, follow these steps to configure the network shown in
Command
Step 1
configure terminal
Step 2
interface fastethernet0/1
Step 3
port-type nni
Step 4
switchport mode trunk
Step 5
exit
Step 6
interface fastethernet0/2
Step 7
port-type nni
Step 8
switchport mode trunk
Step 9
end
Step 10
show running-config
Step 11
show vlan
Step 12
configure terminal
Step 13
interface fastethernet0/1
Step 14
spanning-tree vlan 2-4 cost 30
Step 15
exit
Step 16
interface fastethernet0/2
Step 17
spanning-tree vlan 8-10 cost 30
Step 18
exit
Step 19
Step 20
exit
Step 21
show running-config
Step 22
copy running-config startup-config
Follow the same steps on Switch B to configure the trunk port for Trunk 1 with a path cost of 30 for
VLANs 2 through 4, and configure the trunk port for Trunk 2 with a path cost of 30 for VLANs 8 through
10.
Cisco ME 3400 Ethernet Access Switch Software Configuration Guide
11-22
Purpose
Enter global configuration mode on Switch A.
Define the interface to be configured as Trunk port 1, and enter interface
configuration mode.
Configure the interface as an NNI.
Configure the port as a trunk port.
Return to global configuration mode.
Define the interface to be configured as Trunk port 2, and enter interface
configuration mode.
Configure the interface as an NNI.
Configure the port as a trunk port.
Return to privileged EXEC mode.
Verify your entries. In the display, make sure that the interfaces
configured in Steps 2 and 7 are configured as trunk ports.
Verify that VLANs 2 through 4 and 8 through 10 are configured on
Switch A. If not, create these VLANs.
Enter global configuration mode.
Enter interface configuration mode for Trunk port 2.
Set the spanning-tree path cost to 30 for VLANs 2 through 4.
Return to global configuration mode.
Enter interface configuration mode for Trunk port 2.
Set the spanning-tree path cost to 30 for VLANs 2 through 4.
Return to global configuration mode.
Repeat Steps 9 through 11 on the other configured trunk interface on
Switch A, and set the spanning-tree path cost to 30 for VLANs 8, 9, and
10.
Return to privileged EXEC mode.
Verify your entries. In the display, verify that the path costs are set
correctly for both trunk interfaces.
(Optional) Save your entries in the configuration file.
Chapter 11
Configuring VLANs
Figure
11-4:
78-17058-01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents