Example for Configuring Virtual Cluster Access to Carry Ethernet Services (Multiple Base Stations on Different Network Segments)
This section provides an example for configuring virtual cluster access to carry Ethernet services on an IP radio access network (RAN) when multiple base stations are located on different network segments.
Networking Requirements
Device Name |
Interface Name |
IP Address |
---|---|---|
AP1 |
Loopback0 |
10.1.2.9/32 |
GigabitEthernet0/1/1 |
10.4.0.3/30 |
|
GigabitEthernet0/1/3 |
10.7.1.3/30 |
|
GigabitEthernet0/1/7 |
- |
|
AP2 |
Loopback0 |
10.2.2.9/32 |
GigabitEthernet0/1/1 |
10.4.0.4/30 |
|
GigabitEthernet0/1/3 |
10.19.0.4/30 |
|
Master1 |
Loopback0 |
10.3.2.9/32 |
GigabitEthernet0/1/0 |
10.18.0.7/30 |
|
GigabitEthernet0/1/1 |
10.7.0.7/30 |
|
GigabitEthernet0/1/2 |
10.7.1.7/30 |
|
Master2 |
Loopback0 |
10.4.2.9/32 |
GigabitEthernet0/1/0 |
10.18.0.8/30 |
|
GigabitEthernet0/1/1 |
10.8.0.8/30 |
|
GigabitEthernet0/1/3 |
10.19.0.8/30 |
|
RSG |
Loopback0 |
10.5.2.9/32 |
GigabitEthernet0/1/2 |
10.7.0.2/30 |
|
GigabitEthernet0/1/4 |
10.8.0.2/30 |
|
GigabitEthernet0/1/5 |
10.20.0.2/30 |
Configuration Roadmap
The configuration roadmap is as follows:
Assign an IP address to each interface and configure a loopback interface address as a management IP address on each node.
Configure Multiprotocol Extensions for BGP (MP-BGP), Multiprotocol Label Switching (MPLS), and L3VPN instances on the masters and radio network controller site gateway (RSG).
Enable virtual cluster access globally and on the interfaces of the masters and APs, assign management IP addresses to the masters and APs, and specify the primary and secondary masters for the APs.
Create Remote-AP interfaces, assign IP addresses to the interfaces, and bind the interfaces to an L3VPN instance.
Data Preparation
To complete the configuration, you need the following data:
IP addresses of directly connected interfaces and loopback interface addresses on each node (for details, see Figure 2-9)
Primary master for AP1 and AP2: Master1; secondary master for AP1 and AP2: Master2
Number of the Remote-AP interface on Master1: 1; IP address of the Remote-AP interface on Master1: 10.1.1.1/24; number of the Remote-AP interface on Master2: 2; IP address of the Remote-AP interface on Master2: 10.1.1.1/24
Procedure
- Assign an IP address to each interface and configure a loopback interface address as a management IP address on each node.
For configuration details, see Configuration Files in this section.
- Configure MP-BGP, MPLS, and L3VPN instances on the masters and RSG.
For configuration details, see Configuration Files in this section.
- Enable virtual cluster access globally and on the interfaces of the masters and APs, assign management IP addresses to the masters and APs, and specify the primary and secondary masters for the APs.
For configuration details, see Configuration Files in this section.
- Create Remote-AP interfaces, assign IP addresses to the interfaces, and bind the interfaces to an L3VPN instance.
# Configure Master1.
<Master1> system-view
[~Master1] interface Remote-Ap 1
[*Master1-Remote-Ap1] ip binding vpn-instance a
[*Master1-Remote-Ap1] ip address 10.1.1.1 255.255.255.0
[*Master1-Remote-Ap1] bind ap ip 10.1.2.9 interface GigabitEthernet0/1/7
[*Master1-Remote-Ap1] connect-slot 9
[*Master1-Remote-Ap1] commit
[~Master1-Remote-Ap1] quit
# Configure Master2.
<Master2> system-view
[~Master2] interface Remote-Ap 2
[*Master2-Remote-Ap2] ip binding vpn-instance a
[*Master2-Remote-Ap2] ip address 10.1.1.1 255.255.255.0
[*Master2-Remote-Ap2] bind ap ip 10.1.2.9 interface GigabitEthernet0/1/7
[*Master2-Remote-Ap2] connect-slot 9
[*Master2-Remote-Ap2] commit
[~Master2-Remote-Ap2] quit
- Verify the configuration.
After completing the configurations, run the display virtual-cluster-access vc command on each node. The command output shows that the VC status is Up. The following example uses the command output on Master1.
[~Master1] display virtual-cluster-access vc
-------------------------------------------------------------------------------- MasterID ApID State ApIF -------------------------------------------------------------------------------- 10.3.2.9 10.1.2.9 Up GigabitEthernet0/1/7
Configuration Files
AP1 configuration file
# sysname AP1 # bfd # virtual-cluster-access role ap admin 10.1.2.9 master primary 10.3.2.9 master secondary 10.4.2.9 # isis 65534 description auto-generated for virtual-cluster-access is-level level-1 cost-style wide auto-cost enable virtual-cluster-access enable network-entity 10.0000.0000.0003.00 # interface GigabitEthernet0/1/1 undo shutdown ip address 10.4.0.3 255.255.255.252 virtual-cluster-access enable isis enable 65534 # interface GigabitEthernet0/1/3 undo shutdown ip address 10.7.1.3 255.255.255.252 virtual-cluster-access enable isis enable 65534 # interface LoopBack0 ip address 10.1.2.9 255.255.255.255 isis enable 65534 # return
AP2 configuration file
# sysname AP2 # bfd # virtual-cluster-access role ap admin 10.2.2.9 master primary 10.3.2.9 master secondary 10.4.2.9 # isis 65534 description auto-generated for virtual-cluster-access is-level level-1 cost-style wide auto-cost enable virtual-cluster-access enable network-entity 10.0000.0000.0004.00 # interface GigabitEthernet0/1/1 undo shutdown ip address 10.4.0.4 255.255.255.252 virtual-cluster-access enable isis enable 65534 # interface GigabitEthernet0/1/3 undo shutdown ip address 10.19.0.4 255.255.255.252 virtual-cluster-access enable isis enable 65534 # interface LoopBack0 ip address 10.2.2.9 255.255.255.255 isis enable 65534 # return
Master1 configuration file
# sysname Master1 # ip vpn-instance a ipv4-family route-distinguisher 1:1 vpn-target 1:1 export-extcommunity vpn-target 1:100 export-extcommunity vpn-target 1:1 import-extcommunity vpn-target 1:100 import-extcommunity # bfd # mpls lsr-id 10.3.2.9 # mpls # mpls ldp graceful-restart # ipv4-family # virtual-cluster-access role master admin 10.3.2.9 # isis 65534 description auto-generated for virtual-cluster-access is-level level-1 cost-style wide auto-cost enable virtual-cluster-access enable network-entity 10.0000.0000.0007.00 # interface GigabitEthernet0/1/0 undo shutdown ip address 10.18.0.7 255.255.255.252 # interface GigabitEthernet0/1/1 undo shutdown ip address 10.7.0.7 255.255.255.252 mpls mpls ldp # interface GigabitEthernet0/1/2 undo shutdown ip address 10.7.1.7 255.255.255.252 isis enable 65534 mpls virtual-cluster-access enable # interface LoopBack0 ip address 10.3.2.9 255.255.255.255 isis enable 65534 # interface Remote-Ap1 undo shutdown ip binding vpn-instance a ip address 10.1.1.1 255.255.255.0 bind ap ip 10.1.2.9 interface GigabitEthernet0/1/7 connect-slot 9 # bgp 100 peer 10.5.2.9 as-number 100 peer 10.5.2.9 connect-interface LoopBack0 # ipv4-family unicast import-route direct peer 10.5.2.9 enable # ipv4-family vpnv4 policy vpn-target peer 10.5.2.9 enable # ipv4-family vpn-instance a import-route direct med 10 # ospf 1 router-id 10.3.2.9 opaque-capability enable graceful-restart area 0.0.0.0 network 10.7.0.0 0.0.0.255 network 10.3.2.9 0.0.0.0 # return
Master2 configuration file
# sysname Master2 # ip vpn-instance a ipv4-family route-distinguisher 1:1 vpn-target 1:1 export-extcommunity vpn-target 1:1 import-extcommunity # bfd # mpls lsr-id 10.4.2.9 # mpls # mpls ldp graceful-restart # ipv4-family # virtual-cluster-access role master admin 10.4.2.9 # isis 65534 description auto-generated for virtual-cluster-access is-level level-1 cost-style wide auto-cost enable virtual-cluster-access enable network-entity 10.0000.0000.0008.00 # interface GigabitEthernet0/1/0 undo shutdown ip address 10.18.0.8 255.255.255.252 # interface GigabitEthernet0/1/1 undo shutdown ip address 10.8.0.8 255.255.255.252 mpls mpls ldp # interface GigabitEthernet0/1/3 undo shutdown ip address 10.19.0.8 255.255.255.252 isis enable 65534 mpls virtual-cluster-access enable # interface LoopBack0 ip address 10.4.2.9 255.255.255.255 isis enable 65534 # interface Remote-Ap2 undo shutdown ip binding vpn-instance a ip address 10.1.1.1 255.255.255.0 bind ap ip 10.1.2.9 interface GigabitEthernet0/1/7 connect-slot 9 # bgp 100 peer 10.5.2.9 as-number 100 peer 10.5.2.9 connect-interface LoopBack0 # ipv4-family unicast import-route direct peer 10.5.2.9 enable # ipv4-family vpnv4 policy vpn-target peer 10.5.2.9 enable # ipv4-family vpn-instance a import-route direct med 20 # ospf 1 router-id 10.4.2.9 opaque-capability enable graceful-restart area 0.0.0.0 network 10.8.0.0 0.0.0.255 network 10.4.2.9 0.0.0.0 # return
RSG configuration file
# sysname RSG # ip vpn-instance a ipv4-family route-distinguisher 1:1 vpn-target 1:1 export-extcommunity vpn-target 1:1 import-extcommunity # mpls lsr-id 10.5.2.9 # mpls label advertise non-null # mpls ldp graceful-restart # interface GigabitEthernet0/1/2 undo shutdown ip address 10.7.0.2 255.255.255.252 mpls mpls ldp # interface GigabitEthernet0/1/4 undo shutdown ip address 10.8.0.2 255.255.255.252 mpls mpls ldp # interface GigabitEthernet0/1/5 undo shutdown ip binding vpn-instance a ip address 10.20.0.2 255.255.255.252 # interface LoopBack0 ip address 10.5.2.9 255.255.255.255 # bgp 100 peer 10.3.2.9 as-number 100 peer 10.3.2.9 connect-interface LoopBack0 peer 10.4.2.9 as-number 100 peer 10.4.2.9 connect-interface LoopBack0 # ipv4-family unicast import-route direct peer 10.3.2.9 enable peer 10.4.2.9 enable # ipv4-family vpnv4 policy vpn-target peer 10.3.2.9 enable peer 10.4.2.9 enable # ipv4-family vpn-instance a import-route direct peer 10.20.0.1 as-number 500 # ospf 1 router-id 10.5.2.9 opaque-capability enable graceful-restart area 0.0.0.0 network 10.5.2.9 0.0.0.0 network 10.7.0.0 0.0.0.255 network 10.8.0.0 0.0.0.255 # return