User Manual

464
Users Manual of XGS-6350-24X4C
Switch_config_ospf# redistribute
bgp ASN
Forwards the designated BGP network to the OSPF network.
Switch_config_ospf# exit Exits from the OSPF configuration mode.
Switch_config# show ip ospf Browses the information about the OSPF protocol.
Switch_config# no router
ospfprocess-id
Deletes the OSPF-VRF routing configuration.
48.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#networknet
work-number/prefix-length
Configures the network number and the mask‘s length that
are distributed by BGP.
Switch_config_bgp_af#
neighboraddress
remote-asASN
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
[ all | rd | vrf ]
Browses the BGP-VRF routing information.
Switch_config# no router bgp ASN
Deletes the BGP routing configuration.
48.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 –vrfvrf-nameip-address
Conducts the PING operation to the addresses in VRF.