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:
Example of configuring VRRP active/standby backup on an AR router
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.

How to configure inter-VLAN communication on an AR router
An AR router provides two technologies to implement inter-VLAN communication: 1. VLANIF interface Create VLANIF interfaces and configure their IP addresses for VLANs of different services, and configure route interconnection to achieve the access between VLANs. For details, see the URL: Example for Configuring a VLANIF Interface to Implement Inter-VLAN Communication . Create a sub-interface on the CE interface of the device, configure an IP address and a termination VLAN for the sub-interface, and configure the default gateways of user hosts as IP addresses of the sub-interface to implement user communication between VLANs. For details, see the URL: Example for Configuring VLANs to Communicate Through Sub-interfaces .

Interconnection of the E1 card of AR routers
Methods of connecting the E1 interface of an AR router to other devices using cables are described as follows: Devices of operators provide the BNC connector in general while AR routers provide the DB9 female connector (cards with 1 interface or 2 interfaces) or the RJ45 connector (cards with 4 or 8 interfaces). The connection methods are as follows: - BNC connectors of operators' devices -- connectors of coaxial cables -- (BNC connector on the customer end -- E1 cables -- DB9 male connectors) -- DB9 female connectors of routers - BNC connectors of operators' devices -- connectors of coaxial cables -- (BNC connector on the customer end -- E1 cables -- RJ45 connectors) -- RJ45 connectors of routers Cables with BNC and DB9/RJ45 connectors are used.

An AR router configured with ATM cannot interconnect with the Cisco router on the peer end
Check the configuration of the AR router and find that IPoA is configured.
# interface Atm0/0/0.1 p2p ip address 10.229.190.6 255.255.255.252 pvc 8/35 map ip 10.229.190.5 //Configure IPoA mapping on the pvc. # 

Check the configuration of the Cisco router and find that IPoEoA is configured.
 ! interface ATM0/0/0.1 point-to-point ip address xx.xx.xx.xx 255.255.255.252 ip nat outside atm route-bridged ip //Configure IPoEoA. pvc 8/35 encapsulation aal5snap ! !  

After the configuration of the AR router is modified from IPoA to IPoEoA, the AR router can ping the Cisco router successfully.
 # interface Virtual-Ethernet0/0/2 ip address 10.229.190.6 255.255.255.252 # interface Atm0/0/0.1 p2p pvc 8/35 map bridge Virtual-Ethernet 0/0/2 //Configure IPoEoA mapping on pvc. #

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top