User's Manual

Table Of Contents
483
Users Manual of CS-6306R
Command Purpose
Switch# config Enters the switch configuration mode.
Switch_config# router ospf
process-id vrf vrf-name
Starts the OSPF-VRF route and enters the configuration
mode.
Switch_config_ospf#
networknetwork-number
network-maskareaarea-id
Defines the OSPF network, mask and area ID.
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.