Cisco 3845 - Security Bundle Router Software Manual page 224

Software configuration guide
Hide thumbs Also See for 3845 - Security Bundle Router:
Table of Contents

Advertisement

Configuring VLAN Trunks
In
Figure
assigned:
Figure 10-3
VLANs 2
VLANs 8
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
switchport mode trunk
Step 4
exit
Step 5
interface gigabitethernet0/2
Step 6
switchport mode trunk
Step 7
end
Step 8
show running-config
Step 9
show vlan
Step 10
configure terminal
Step 11
interface gigabitethernet0/1
Step 12
spanning-tree vlan 2-4 cost 30
Step 13
exit
Step 14
interface gigabitethernet0/2
Step 15
spanning-tree vlan 8-10 cost 30
Step 16
exit
Cisco ME 3800X and 3600X Switch Software Configuration Guide
10-16
10-3, Trunk ports 1 and 2 are configured as 100Base-T ports. These VLAN path costs are
VLANs 2 through 4 are assigned a path cost of 30 on Trunk port 1.
VLANs 8 through 10 retain the default 100Base-T path cost on Trunk port 1 of 19.
VLANs 8 through 10 are assigned a path cost of 30 on Trunk port 2.
VLANs 2 through 4 retain the default 100Base-T path cost on Trunk port 2 of 19.
Load-Sharing Trunks with Traffic Distributed by Path Cost
Trunk port 1
4 (path cost 30)
10 (path cost 19)
Switch B
Switch A
Trunk port 2
VLANs 8
10 (path cost 30)
VLANs 2
4 (path cost 19)
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 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 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.
Chapter 10
Configuring VLANs
Figure
10-3:
OL-23400-01

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 3845 - Security Bundle Router and is the answer not in the manual?

This manual is also suitable for:

Me 3800xMe 3600x

Table of Contents