Static PE-CE Routing Command Reference
Table 4-1 shows the static PE-CE routing configuration command summary.
Command |
Purpose |
---|---|
Router(config)#ip route vrf vrf-name prefix mask [next-hop-address] [interface interface-number] [global] [distance] [permanent] [tag tag] |
Establishes static routes for a VPN VRF. |
Router(config)#router bgp as-number |
Configures the BGP routing process. |
Router(config-router)#address-family ipv4 [unicast] vrf vrf-name |
The address-family command puts the router in address family configuration submode. Within this submode, you can configure address family specific parameters for routing protocols, such as RIP and BGP, that can accommodate multiple Layer 3 address families. |
Router(config-router-af)# redistribute static |
Redistributes static routes. |
Router(config-router-af)# redistribute connected |
Redistributes connected interfaces in destination routing protocol. |
Router(config-router-af)# network {network-number [mask network-mask] | nsap-prefix} [route-map map-tag] |
Specifies the networks to be advertised by the BGP and multiprotocol BGP routing processes. |