Tools

Channel Area

Service Product Area

Forum Affairs

How to configure the interconnection between an AR router and a switch

34

1. In the simplest interconnection configuration, the AR router is configured as the internal gateway, and the switch supports plug-and-play. a. If the AR router connects to the switch through a Layer-2 interface, you can configure the IP address of the VLANIF interface. b. If the AR router connects with the switch through a Layer-3 interface, you can configure the IP address of the Layer-3 interface. 2. Configure the AR router and the switch: a. If the interfaces of the AR router and the switch are all Layer-2 interfaces and interconnect with each other in Layer 2, configure the interfaces of the AR router and the switch as trunk or access interfaces to transparently transmit the data of corresponding VLANs. b. If the interfaces of the AR router and the switch are all Layer-2 interfaces and interconnect with each other in Layer 3, configure the interfaces as access interfaces, and configure the connected VLANs with IP address in the same network segment. c. If the interfaces of the AR router and the switch are all Layer-3 interfaces and interconnect with each other in Layer 3, configure the interfaces with IP addresses in the same network segment. d. When the interfaces of the AR routers are Layer-3 interfaces, if the interfaces of the switch are Layer-2 interfaces configured as access interfaces, configure the VLANIF interfaces of the switch and the interfaces of the AR router with IP addresses in the same network segment. If the interfaces of the switch are Layer-2 interfaces configured as trunk interfaces which can transmit multiple VLANs, configure sub-interfaces for the Layer-3 interfaces of the AR router. (dot1q termination vid�?BR>For details about the configuration, see the following URL: A Layer 2 Switch Is Connected to the AR to Implement Internet Access

Other related questions:

The roadmap of configuring VRRP active/standby backup on an AR router to implement gateway redundancy is as follows:
1. Configure IP addresses and routing protocols for different device interfaces to enable network-layer connection among different devices.
2. Configure a VRRP group on Router A and Router B, respectively. Configure a high priority and set preemption delay to 20s on Router A and configure Router A as a master device to bear and forward traffic. Configure a low priority and configure Router B as a backup device to implement gateway redundancy.
Configure a VRRP group.
# Create VRRP 1 on Router A, set its priority to 120, and set the preemption delay to 20s.
[RouterA] interface gigabitethernet 2/0/0
[RouterA-GigabitEthernet2/0/0] vrrp vrid 1 virtual-ip 10.1.1.111 //Configure a virtual IP address.
[RouterA-GigabitEthernet2/0/0] vrrp vrid 1 priority 120 //Set priority to 120.
[RouterA-GigabitEthernet2/0/0] vrrp vrid 1 preempt-mode timer delay 20 //Set the preemption delay to 20s.
[RouterA-GigabitEthernet2/0/0] quit
# Create VRRP 1 on Router B, and set its priority to a default value 100.
[RouterB] interface gigabitethernet 2/0/0
[RouterB-GigabitEthernet2/0/0] vrrp vrid 1 virtual-ip 10.1.1.111
[RouterB-GigabitEthernet2/0/0] quit
For details about the configuration, see the URL: Example for Configuring a VRRP Group in Active/Standby Mode.