Welcome to the network technology community forum and interact with 2 million technical staff. 5. configure L2 Port 5. 1. configure Trunk: Router (config) # interfacefastethernetxy (take fastethernet as an example, like gigabitethernet) Router (config-if) # shutdownRouter (config-if) # switchportRoute
Welcome to the network technology community forum and interact with 2 million technical staff> go to 5. configure Layer 2 port 5.1. configure Trunk: Router (config) # interface fastethernet x/y (take fastethernet as an example, like gigabitethernet) Router (config-if) # shutdown Router (config-if) # switchport Route
Welcome to the network technology community forum and interact with 2 million technical staff> enter
5. Configure the L2 Port
5.1. Configure Trunk:
Router (config) # interface fastethernet x/y (taking fastethernet as an example, like gigabitethernet)
Router (config-if) # shutdown
Router (config-if) # switchport
Router (config-if) # switchport mode dynamic desirable
Router (config-if) # switchport trunk encapsulation dot1q
Router (config-if) # no shutdown
Router (config-if) # end
Router # exit
If you want to configure a Trunk connection between two 6509 sets, First connect the second 6509 with a gigabit optical fiber, and then configure the trunk of the two connected ports separately, you can use only one pair of optical fiber, or use two pairs of Optical Fiber port channels. The configuration is as follows:
When one pair of optical fiber cables are connected, the following configurations are performed on two 65 optical fiber cables:
Interface GigabitEthernet1/1
No ip address
Switchport
Switchport trunk encapsulation dot1q
Switchport trunk native vlan 1
2. Configure the port channel for the optical fiber, and configure the following on the two 65 servers ::
Interface port-channe1
No ip address
Switchport
Switchport trunk encapsulation dot1q
Switchport trunk native vlan 1
!
Interface GigabitEthernet1/1
No ip address
Switchport
Switchport trunk encapsulation dot1q
Switchport trunk native vlan 1
Channel-group 1 mode on
!
Interface GigabitEthernet1/2
No ip address
Switchport
Switchport trunk encapsulation dot1q
Switchport trunk native vlan 1
Channel-group 1 mode on
6. Configure HSRP
Configure one of the 65 instances according to the template below
Interface Vlan x
Ip address x. x
No ip redirects
No ip directed-broadcast
Standby 1 priority 100 preempt
Standby 1 ip y. y
!
[1] [2] [3] [4]