|
Command or Action |
Purpose |
|
enable
Example:
Router> enable
|
Enables privileged EXEC mode.
- Enter your password if prompted.
|
|
configure terminal
Example:
Router# configure terminal
|
Enters global configuration mode. |
|
router bgp as-number
Example:
Router(config)# router bgp 100
|
Specifies the number of an autonomous system that identifies the router to other BGP routers and tags the routing information passed along, and enters router configuration mode. |
|
bgp log-neighbor-changes
Example:
Router(config-router)# bgp log-neighbor-changes
|
Enables logging of BGP neighbor resets. |
|
neighbor ip-address remote-as as-number
Example:
Router(config-router)# neighbor 209.165.200.225 remote-as 100
|
Adds an entry to the BGP or multiprotocol BGP neighbor table. |
|
neighbor ip-address update-source interface name
Example:
Router(config-router)# neighbor 209.165.200.225 update-source loopback 0
|
Allows BGP sessions to use any operational interface for TCP connections. |
|
address-family ipv4
Example:
Router(config-router)# address-family ipv4
|
Enters address family configuration mode to configure routing sessions that use IPv4 address prefixes. |
|
no synchronization
Example:
Router(config-router-af)# no synchronization
|
Enables the Cisco IOS software to advertise a network route without waiting for an IGP. |
|
redistribute connected
Example:
Router(config-router-af)# redistribute connected
|
Redistributes routes from one routing domain into another routing domain and allows the target protocol to redistribute routes learned by the source protocol and connected prefixes on those interfaces over which the source protocol is running. |
|
neighbor ip-address activate
Example:
Router(config-router-af)# neighbor 209.165.200.225 activate
|
Enables the exchange of information with a BGP neighbor. |
|
no auto-summary
Example:
Router(config-router-af)# no auto-summary
|
Disables automatic summarization and sends subprefix routing information across classful network boundaries. |
|
exit
Example:
Router(config-router-af)# exit
|
Exits address family configuration mode. |
|
address-family vpnv4
Example:
Router(config-router)# address-family vpnv4
|
Enters address family configuration mode to configure routing sessions, such as BGP, that use standard VPNv4 address prefixes. |
|
neighbor ip-address activate
Example:
Router(config-router-af)# neighbor 209.165.200.225 activate
|
Enables the exchange of information with a BGP neighbor. |
|
neighbor ip-address send-community both
Example:
Router(config-router-af)# neighbor 209.165.200.225 send-community both
|
Specifies that a communities attribute, for both standard and extended communities, should be sent to a BGP neighbor. |
|
neighbor ip-address route-map map-name in
Example:
Router(config-router-af)# neighbor 209.165.200.225 route-map SELECT_UPDATE_FOR_L3VPN in
|
Applies the named route map to the incoming route. |
|
exit
Example:
Router(config-router-af)# exit
|
Exits address family configuration mode. |
|
address-family vpnv6
Example:
Router(config-router)# address-family vpnv6
|
Enters address family configuration mode to configure routing sessions, such as BGP, that use VPNv6 address prefixes. |
|
neighbor ip-address activate
Example:
Router(config-router-af)# neighbor 209.165.200.252 activate
|
Enables the exchange of information with a BGP neighbor. |
|
neighbor ip-address send-community both
Example:
Router(config-router-af)# neighbor 209.165.200.252 send-community both
|
Specifies that a communities attribute, for both standard and extended communities, should be sent to a BGP neighbor. |
|
neighbor ip-address route-map map-name in
Example:
Router(config-router-af)# neighbor 209.165.200.252 route-map SELECT_UPDATE_FOR_L3VPN in
|
Applies the named route map to the incoming route. |
|
exit
Example:
Router(config-router-af)# exit
|
Exits address family configuration mode. |
|
route-map map-tag permit position
Example:
Router(config-router)# route-map SELECT_UPDATE_FOR_L3VPN permit 10
|
Enters route-map configuration mode and defines the conditions for redistributing routes from one routing protocol into another.
- The redistribute router configuration command uses the specified map tag to reference this route map. Multiple route maps may share the same map tag name.
- If the match criteria are met for this route map, the route is redistributed as controlled by the set actions.
- If the match criteria are not met, the next route map with the same map tag is tested. If a route passes none of the match criteria for the set of route maps sharing the same name, it is not redistributed by that set.
- The position argument indicates the position a new route map will have in the list of route maps already configured with the same name.
|
|
set ip next-hop encapsulate l3vpn profile-name
Example:
Router(config-route-map)# set ip next-hop encapsulate l3vpn my profile
|
Indicates that output IPv4 packets that pass a match clause of the route map are sent to the VRF for tunnel encapsulation. |
|
set ipv6 next-hop encapsulate l3vpn profile-name
Example:
Router(config-route-map)# set ip next-hop encapsulate l3vpn tunnel encap
|
Indicates that output IPv6 packets that pass a match clause of the route map are sent to the VRF for tunnel encapsulation. |
|
exit
Example:
Router(config-route-map)# exit
|
Exits route-map configuration mode and enters global configuration mode. |
|
exit
Example:
Router(config)# exit
|
Exits global configuration mode. |