Instructions for FS models including: S5500-48T8SP Multi VRF CE Configuration, S5500-48T8SP, S5500-48T8SP CE Configuration, Multi VRF CE Configuration, CE Configuration, Multi VRF Configuration, Configuration

S5500-48T8SP Multi-VRF CEA Configuration | FS - Fiberstore

PoE switch, Configuration commands, Command mode

PoE switch, Configuration commands, Command mode..

FS - Fiberstore


File Info : application/pdf, 16 Pages, 849.07KB

PDF preview unavailable. Download the PDF instead.

s5500-48t8sp-multi-vrf-ce-configuration-guide
Multi-VRF CE Configuration Guide
Model: S5500-48T8SP

S5500-48T8SP MULTI-VRF CECONFIGURATION GUIDE
Contents
Chapter 1 Multi-VRF CE Intro .............................................................................................................1 1.1 Overview ................................................................................................................................1 1.1.1 Establishing Routes with CE .......................................................................................1 1.1.2 Establishing Routes with PE .......................................................................................2
Chapter 2 Multi-VRF CE Configuration ...............................................................................................3 2.1 Default VRF Configuration .....................................................................................................3 2.2 MCE Configuration Tasks ......................................................................................................3 2.3 MCE Configuration ................................................................................................................3 2.3.1 Configuring VRF..........................................................................................................3 2.3.2 Configuring VPN Route ...............................................................................................4 2.3.3 Configuring the BGP Route Between PE and CE.......................................................5 2.3.4 Testifying the VRF Connectivity Between PE and CE ................................................5
Chapter 3 MCE Configuration Example ..............................................................................................6 3.1 Configuring S11 .....................................................................................................................6 3.2 Configuring MCE-S1 ..............................................................................................................7 3.3 Configuring PE.......................................................................................................................9 3.4 Configuring MCE-S2 ........................................................................................................... 10 3.5 Setting S22 ......................................................................................................................... 12 3.6 TestifyingVRF Connectivity ................................................................................................. 13

www.fs.com

- I -

S5500-48T8SP MULTI-VRF CECONFIGURATION GUIDE

Chapter 1 Multi-VRF CE Intro

1.1 Overview
The Virtual Private Network (VPN) provides a secure method for multiple client networks to share the ISP-supplied bandwidth. In general, one VPN comprises a team of client networks that share a public routing table on the ISP's routers. Each client network is connected to the interface of the network devices of ISP, while ISP's device will relate each interface to a VPN routing table. One VPN routing table is also called as a VRF (VPN Routing /Forwarding table).
VRF is usually deployed on a Provider Edge (PE) device, such as MPLS VRF VPN. A PE supports multiple VPNs, and each VPN has its independent IP address space among which IP addresses can be overlapped. The VPN of a different client connects a different interface of PE, while PE differentiates the to-be-checked routing tables according to the incoming port of the packet.
Multi-VRF CE is to remove the task of connecting multiple client networks from PE to CE, which only requires a physical link to connect CE and PE. In this way, the port resource of PE is saved. CE also maintains the VRF routing table for each VPN. The packets from the client network are first forwarded on CE and then transmitted to PE after the packets pass through the ISP network.
The switch which serves as MCE connects different client networks through different ports and then relates these ports to a VPN routing table. MY COMPANY switches only support VRF settings on the VLAN port.
The MCE function is usually deployed at the edge of the large-scale MPLS-VRF VPN network. The three functions, Multi-VRF CE, MPLS label switching and the function of MPLS control layer, are independent. Figure 1.1 shows an MPLS-VRF VPN network.

VPN1 Site 1

MPLS Backbone

VPN1 Site 2

VPN2 Site 1

MCE

PE

Switch

PE

MCE

Switch

VPN2 Site 2

Figure 1.1 MCE in the MPLS-VRF VPN network

1.1.1 Establishing Routes with CE
The Multi-VRF CE switch can establish routes with CE through multiple dynamic routing protocols. CE can be routers or the Ethernet switches. The routing protocols which are supported include OSPF, RIP and BEIGRP. The MCE switch also supports static routing configuration.

www.fs.com

- 1 -

S5500-48T8SP MULTI-VRF CECONFIGURATION GUIDE
The MCE switch generally needs different VLAN ports to connect CEs that belong to different VPNs. The VLAN ports that are used to connect the VPNs require to be related to a VRF. CE does not need to support VRF.
1.1.2 Establishing Routes with PE
The MCE switch (MCE) can connect one or multiple PEs, but both MCE and the connected PEs have to get VRF configured. MCE will provide PE the routes which MCE learns from CE and learns the routes of remote client networks from PE.
The VRF route can be established between MCE and PE through dynamic routing protocols such as BGP, OSPF, RIP and BEIGRP. Of course, the VRF route can also be established statically.
In general, MCE and PE belong to different autonomous systems. Hence, the method to establish the VRF route between MCE and PE by using EBGP is the key point in this document.

www.fs.com

- 2 -

S5500-48T8SP MULTI-VRF CECONFIGURATION GUIDE

Chapter 2 Multi-VRF CE Configuration

2.1 Default VRF Configuration

Function VRF VPN expansibility of VRF Maximum number of VRF routes VRF port
IP Express Forwarding

Default Configuration There is no configuration. All routes are added to the default routing table. There is no Routing Distinguisher (RD). There is no input/output Routing Target (RT). 10240 N/A. None of VLAN ports is related with VRF, and the routes of ports are added to the default routing table. The hardware IP routing is not enabled.

2.2 MCE Configuration Tasks

 Configuring VRF  Configuring a VPN Route  Configuring BGP Route Between PE and CE  Testifying the VRF Connectivity between PE and CE

2.3 MCE Configuration

2.3.1 Configuring VRF

Refer to the following steps to configure one or multiple VRFs.

Command

Purpose

Switch# config

Enters the switch configuration mode.

Switch_config# ip vrf vrf-name

Creates VRF and enters the VRF configuration mode.

vrf-name: VRF name with up to 31 characters

Switch_config_vrf# rd route-distinguisher

Sets the route distinguisher of VRF.

route-distinguisher: Stands for the distinguisher of the route. It consists of autonomous domain ID and random numbers, or IP and random numbers.

www.fs.com

- 3 -

S5500-48T8SP MULTI-VRF CECONFIGURATION GUIDE

Switch_config_vrf# route-target { export | import | both } route-target-extened-community
Switch_config_vrf# interface intf-name
Switch_config_intf# ip vrf forwarding vrf-name
Switch_config_intf# exit Switch_config# ip exf Switch_config# show ip vrf [ brief | detail | interface ] [ vrf-name ] Switch_config#no ip vrf vrf-name
Switch_config_intf# no ip vrf forwarding [ vrf-name ]

Creates the expanded VPN attributes of input/output VRF objects. route-target-extended-community: It consists of autonomous domain ID and random numbers, or IP and random numbers. Enters the interface configuration mode. intf-name: Stands for the name of an interface. Relates the L3 interface with VRF. vfi-name: Means the name of VRF. Exits from interface configuration mode. Enables ip hardware routing . Browses the VRF information.
Deletes the configured VRF and the relation between VRF and the L3 interface. vfi-name: Means the name of VRF. Deletes the relation between the L3 interface and VRF.

2.3.2 Configuring VPN Route

The route can be established between MCE and customer device through the configuration of BGP, OSPF, RIP, BEIGRP or static route. The following takes OSPF configuration as an example, which is similar to other routes' configurations.
Note: When a route is configured on MCE to connect the client network, the VRF attributes of the routing protocol need be specified. VRF need not be configured on the customer device.

Command Switch# config Switch_config# router ospf process-id vrf vrf-name Switch_config_ospf# network network-number network-mask area area-id Switch_config_ospf# redistribute bgp ASN
Switch_config_ospf# exit

Purpose Enters the switch configuration mode. Starts the OSPF-VRF route and enters the configuration mode.
Defines the OSPF network, mask and area ID.
Forwards the designated BGP network to the OSPF network. Exits from the OSPF configuration mode.

www.fs.com

- 4 -

S5500-48T8SP MULTI-VRF CECONFIGURATION GUIDE

Switch_config# show ip ospf Switch_config# no router ospf process-id

Browses the information about the OSPF protocol. Deletes the OSPF-VRF routing configuration.

2.3.3 Configuring the BGP Route Between PE and CE

Refer to the following configuration commands:

Command

Purpose

Switch# config

Enters the switch configuration mode.

Switch_config# router bgp autonomous-system-number

Starts the BGP protocol by designating autonomous system number and enters the BGP configuration mode.

Switch_config_bgp# bgp log-neighbor-changes Starts the record about BGP neighbor change.

Switch_config_bgp# address-family ipv4 vrf vrf-name

Enters the configuration mode of VRF address-family.

Switch_config_bgp_af# redistribute ospf ospf-process-id

Forwards the OSPF routing information to the BGP network.

Switch_config_bgp_af# network-number/prefix-length

network Configures the network number and the mask`s length that are distributed by BGP.

Switch_config_bgp_af# neighbor address remote-as ASN

Configures the BGP neighbor and the autonomous system number of a neighbor.

Switch_config_bgp_af# exit-address-family

Exits from the configuration mode of address-family.

Switch_config_bgp# exit

Exits from the BGP configuration mode.

Switch_config# show ip bgp vpnv4

Browses the BGP-VRF routing information.

[ all | rd | vrf ]

Switch_config# no router bgp ASN

Deletes the BGP routing configuration.

2.3.4 Testifying the VRF Connectivity Between PE and CE

Use the PING command with the VRF option to testify the VRF connectivity of PE and CE.

Command

Purpose

Switch# ping ­vrf vrf-name ip-address

Conducts the PING operation to the addresses in VRF.

www.fs.com

- 5 -

S5500-48T8SP MULTI-VRF CECONFIGURATION GUIDE

Chapter 3 MCE Configuration Example

Figure 2.1 shows a simple VRF network. Both S1 and S2 are the Multi-VRF CE switches. S11, S12 and S13 belong to VPN1, S21 and S22 belong to VPN2, and all of them are customer devices. The OSPF route should be configured between CE and customer device, while the BGP route is configured between CE and PE.

S1

PE

S2

VPN1

S11

CE

G0/1 G0/1
11.0.0.0 G0/2
S12

G0/3

VPN2 S21

G0/4

G1/1 G1/2

CE G0/1
G0/2
G0/3

VPN1 S13
VPN2 S22 G0/1

Figure 2.1 MCE configuration example
3.1 Configuring S11
Set the VLAN attributes of the physical interface that connects CE: Switch_config# interface gigaEthernet 0/1 Switch_config_g0/1# switchport pvid 11 Switch_config_g0/1# exit
Sets the IP address and the VLAN interface. Switch_config# interface VLAN11 Switch_config_v11# ip address 11.0.0.2 255.0.0.0 Switch_config_v11# exit
Set the routing protocol between CE and customer's device:

www.fs.com

- 6 -

S5500-48T8SP MULTI-VRF CECONFIGURATION GUIDE
Switch_config# router ospf 101 Switch_config_ospf_101# network 11.0.0.0 255.0.0.0 area 0 Switch_config_ospf_101# exit
3.2 Configuring MCE-S1
Configures VRF on the Multi-VRF CE device. Switch#config Switch_config# ip vrf vpn1 Switch_config_vrf_vpn1# rd 100:1 Switch_config_vrf_vpn1# route-target export 100:1 Switch_config_vrf_vpn1# route-target import 100:1 Switch_config_vrf_vpn1# exit
Switch_config# ip vrf vpn2 Switch_config_vrf_vpn2# rd 100:2 Switch_config_vrf_vpn2# route-target export 100:2 Switch_config_vrf_vpn2# route-target import 100:2 Switch_config_vrf_vpn2# exit
Configure the loopback port and the physical port, and use the address of the loopback port as the router ID of the BGP protocol. Switch_config# interface loopback 0 Switch_config_l0# ip address 101.0.0.1 255.255.255.255 Switch_config_l0# exit
S1 connects S11 through the F0/1 port, S21 through the G0/4 port and PE through the G0/2 port. Switch_config# interface gigaEthernet 0/1 Switch_config_g0/1# switchport pvid 11 Switch_config_g0/1# exit
Switch_config# interface gigaEthernet 0/4 Switch_config_g0/4# switchport pvid 15 Switch_config_g0/4# exit
Switch_config# interface gigaEthernet 0/2 Switch_config_g0/2# switchport mode trunk Switch_config_g0/2# exit
Set the L3 VLAN port of a switch, bind the VRF to the VLAN port and set the IP address. S1 connects PE through two logical ports, VLAN21 and VLAN22. The two ports, VLAN11 and VLAN15, connect VPN1 and VPN2 respectively. Switch_config# interface VLAN11 Switch_config_v11# ip vrf forwarding vpn1

www.fs.com

- 7 -

S5500-48T8SP MULTI-VRF CECONFIGURATION GUIDE
Switch_config_v11# ip address 11.0.0.1 255.0.0.0 Switch_config_v11# exit
Switch_config# interface VLAN15 Switch_config_v15# ip vrf forwarding vpn2 Switch_config_v15# ip address 15.0.0.1 255.0.0.0 Switch_config_v15# exit
Switch_config# interface VLAN21 Switch_config_v21# ip vrf forwarding vpn1 Switch_config_v21# ip address 21.0.0.2 255.0.0.0 Switch_config_v21# exit
Switch_config# interface VLAN22 Switch_config_v22# ip vrf forwarding vpn2 Switch_config_v22# ip address 22.0.0.2 255.0.0.0 Switch_config_v22# exit
Configure the OSPF route between CE and customer device. Switch_config# router ospf 1 vrf vpn1 Switch_config_ospf_1# network 11.0.0.0 255.0.0.0 area 0 Switch_config_ospf_1# redistribute bgp 100 Switch_config_ospf_1#exit
Switch_config# router ospf 2 vrf vpn2 Switch_config_ospf_2# network 15.0.0.0 255.0.0.0 area 0 Switch_config_ospf_2# redistribute bgp 100 Switch_config_ospf_2#exit
Configure the EBGP route between PE and CE. Switch_config# router bgp 100 Switch_config_bgp# bgp log-neighbor-changes
Switch_config_bgp# address-family ipv4 vrf vpn1 Switch_config_bgp_vpn1# no synchronization Switch_config_bgp_vpn1# redistribute ospf 1 Switch_config_bgp_vpn1# neighbor 21.0.0.1 remote-as 200 Switch_config_bgp_vpn1# exit-address-family
Switch_config_bgp# address-family ipv4 vrf vpn2 Switch_config_bgp_vpn2# no synchronization Switch_config_bgp_vpn2# redistribute ospf 2 Switch_config_bgp_vpn2# neighbor 22.0.0.1 remote-as 200 Switch_config_bgp_vpn2# exit-address-family Switch_config_bgp# exit

www.fs.com

- 8 -

S5500-48T8SP MULTI-VRF CECONFIGURATION GUIDE

Create VLAN. Switch_config# vlan 1,11-12,21-22
Enables the forwarding of subnet route of the switch. Switch_config# ip exf
3.3 Configuring PE
Set VRF on PE: Switch#config Switch_config# ip vrf vpn1 Switch_config_vrf_vpn1# rd 200:1 Switch_config_vrf_vpn1# route-target export 200:1 Switch_config_vrf_vpn1# route-target import 200:1 Switch_config_vrf_vpn1# exit
Switch_config# ip vrf vpn2 Switch_config_vrf_vpn2# rd 200:2 Switch_config_vrf_vpn2# route-target export 200:2 Switch_config_vrf_vpn2# route-target import 200:2 Switch_config_vrf_vpn2# exit
Set the loopback interface as the router identifier: Switch_config# interface loopback 0 Switch_config_l0# ip address 102.0.0.1 255.255.255.255 Switch_config_l0# exit
Set the physical interface which connects PE and CE: G1/1 and G1/2 connect S1 and S2 respectively: Switch_config# interface gigaEthernet 1/1 Switch_config_g1/1# switchport mode trunk Switch_config_g1/1# interface gigaEthernet 1/2 Switch_config_g1/2# switchport mode trunk Switch_config_g1/2# exit
Set the L3 VLAN interface of PE, which connects S1: Switch_config# interface VLAN21 Switch_config_v21# ip vrf forwarding vpn1 Switch_config_v21# ip address 21.0.0.1 255.0.0.0 Switch_config_v21# exit
Switch_config# interface VLAN22

www.fs.com

- 9 -

S5500-48T8SP MULTI-VRF CECONFIGURATION GUIDE
Switch_config_v22# ip vrf forwarding vpn2 Switch_config_v22# ip address 22.0.0.1 255.0.0.0 Switch_config_v22# exit
Set the L3 VLAN interface of PE, which connects S2: Switch_config# interface VLAN31 Switch_config_v31# ip vrf forwarding vpn1 Switch_config_v31# ip address 31.0.0.1 255.0.0.0 Switch_config_v31# exit
Switch_config# interface VLAN32 Switch_config_v32# ip vrf forwarding vpn2 Switch_config_v32# ip address 32.0.0.1 255.0.0.0 Switch_config_v32# exit
Set the EBGP of PE: Switch_config# router bgp 200 Switch_config_bgp# bgp log-neighbor-changes Switch_config_bgp# address-family ipv4 vrf vpn1 Switch_config_bgp_vpn1# no synchronization Switch_config_bgp_vpn1# neighbor 21.0.0.2 remote-as 100 Switch_config_bgp_vpn1# neighbor 31.0.0.2 remote-as 300 Switch_config_bgp_vpn1# exit-address-family
Switch_config_bgp# address-family ipv4 vrf vpn2 Switch_config_bgp_vpn2# no synchronization Switch_config_bgp_vpn2# neighbor 22.0.0.2 remote-as 100 Switch_config_bgp_vpn2# neighbor 32.0.0.2 remote-as 300 Switch_config_bgp_vpn2# exit-address-family Switch_config_bgp# exit
Set VLAN and enable the subnet routing forwarding. Switch_config# vlan 1,21-22,31-32 Switch_config# ip exf
3.4 Configuring MCE-S2
Configures VRF: Switch#config Switch_config# ip vrf vpn1 Switch_config_vrf_vpn1# rd 300:1 Switch_config_vrf_vpn1# route-target export 300:1 Switch_config_vrf_vpn1# route-target import 300:1 Switch_config_vrf_vpn1# exit
www.fs.com

- 10 -

S5500-48T8SP MULTI-VRF CECONFIGURATION GUIDE
Switch_config# ip vrf vpn2 Switch_config_vrf_vpn2# rd 300:2 Switch_config_vrf_vpn2# route-target export 300:2 Switch_config_vrf_vpn2# route-target import 300:2 Switch_config_vrf_vpn2# exit
Configure the loopback port and the physical port, and use the address of the loopback port as the router ID of the BGP protocol. Switch_config# interface loopback 0 Switch_config_l0# ip address 103.0.0.1 255.255.255.255 Switch_config_l0# exit
S2 connects S13 through the F0/1 port, S22 through the G0/3 port and PE through the G0/2 port. Switch_config# interface gigaEthernet 0/1 Switch_config_g0/1# switchport pvid 41 Switch_config_g0/1# exit
Switch_config# interface gigaEthernet 0/3 Switch_config_g0/3# switchport pvid 46 Switch_config_g0/3# exit
Switch_config# interface gigaEthernet 0/2 Switch_config_g0/2# switchport mode trunk Switch_config_g0/2# exit
Set the L3 VLAN port of a switch, bind the VRF to the VLAN port and set the IP address. S2 connects PE through two logical ports, VLAN31 and VLAN32. The two ports, VLAN41 and VLAN46, connect VPN1 and VPN2 respectively. Switch_config# interface VLAN41 Switch_config_v41# ip vrf forwarding vpn1 Switch_config_v41# ip address 41.0.0.1 255.0.0.0 Switch_config_v41# exit
Switch_config# interface VLAN46 Switch_config_v46# ip vrf forwarding vpn2 Switch_config_v46# ip address 46.0.0.1 255.0.0.0 Switch_config_v46# exit
Switch_config# interface VLAN31 Switch_config_v31# ip vrf forwarding vpn1 Switch_config_v31# ip address 31.0.0.2 255.0.0.0 Switch_config_v31# exit

www.fs.com

- 11 -

S5500-48T8SP MULTI-VRF CECONFIGURATION GUIDE
Switch_config# interface VLAN32 Switch_config_v32# ip vrf forwarding vpn2 Switch_config_v32# ip address 32.0.0.2 255.0.0.0 Switch_config_v32# exit
Configure the OSPF route between CE and customer device. Switch_config# router ospf 1 vrf vpn1 Switch_config_ospf_1# network 41.0.0.0 255.0.0.0 area 0 Switch_config_ospf_1# redistribute bgp 300 Switch_config_ospf_1#exit
Switch_config# router ospf 2 vrf vpn2 Switch_config_ospf_2# network 46.0.0.0 255.0.0.0 area 0 Switch_config_ospf_2# redistribute bgp 300 Switch_config_ospf_2# exit
Configure the EBGP route between PE and CE. Switch_config# router bgp 300 Switch_config_bgp# bgp log-neighbor-changes
Switch_config_bgp# address-family ipv4 vrf vpn1 Switch_config_bgp_vpn1# no synchronization Switch_config_bgp_vpn1# redistribute ospf 1 Switch_config_bgp_vpn1# neighbor 31.0.0.1 remote-as 200 Switch_config_bgp_vpn1# exit-address-family
Switch_config_bgp# address-family ipv4 vrf vpn2 Switch_config_bgp_vpn2# no synchronization Switch_config_bgp_vpn2# redistribute ospf 2 Switch_config_bgp_vpn2# neighbor 32.0.0.1 remote-as 200 Switch_config_bgp_vpn2# exit-address-family Switch_config_bgp# exit
Create VLAN. Switch_config# vlan 1,31-32,41,46
Enables the forwarding of subnet route of the switch. Switch_config# ip exf
3.5 Setting S22
Set the VLAN attributes of the physical interface of CE, and connect S22 and S2 through interface f0/1: Switch_config# interface gigaEthernet 0/1

www.fs.com

- 12 -

S5500-48T8SP MULTI-VRF CECONFIGURATION GUIDE
Switch_config_g0/1# switchport pvid 46 Switch_config_g0/1# exit
Sets the IP address and the VLAN interface. Switch_config# interface VLAN46 Switch_config_v46# ip address 46.0.0.2 255.0.0.0 Switch_config_v46# exit
Set the routing protocol between CE and customer's device: Switch_config# router ospf 103 Switch_config_ospf_103# network 46.0.0.0 255.0.0.0 area 0 Switch_config_ospf_103# exit
3.6 TestifyingVRF Connectivity
Run the PING command on S1 to testify the connectivity of VPN1 between S1 and S11: Switch# ping -vrf vpn1 11.0.0.2 !!!!! --- 11.0.0.2 ping statistics --5 packets transmitted, 5 packets received, 0% packet loss round-trip min/avg/max = 0/0/0 ms
Testify the connectivity between S1 and PE: Switch# ping -vrf vpn1 21.0.0.1 !!!!! --- 21.0.0.1 ping statistics --5 packets transmitted, 5 packets received, 0% packet loss round-trip min/avg/max = 0/0/0 ms

www.fs.com

- 13 -

S3910 SERIES SWITCHES DATASHEET

www.fs.com

10



References

Microsoft? Office Word 2007