The peer label-route-capability command enables a BGP device to send labeled routes to a specified peer or peer group.
The undo peer label-route-capability command disables this function.
By default, this function is disabled.
Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731S-H, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730S-H, and S6730-H support this command.
BGP view and BGP-IPv4 unicast address family view:
peer { group-name | ipv4-address } label-route-capability [ check-tunnel-reachable ]
undo peer { group-name | ipv4-address } label-route-capability
BGP-IPv6 unicast address family view:
peer ipv4-address label-route-capability
undo peer ipv4-address label-route-capability
Parameter | Description | Value |
---|---|---|
group-name | Specifies the name of a peer group. | The name is a string of 1 to 47 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string. |
ipv4-address | Specifies the IPv4 address of a peer. | It is in dotted decimal notation. |
check-tunnel-reachable | Checks tunnel reachability when imported routes are sent as labeled routes. | - |
When the capability of sending labeled routes is enabled or disabled, BGP connection is automatically closed and the capability of the neighbor is re-negotiated.
To configure IPv6 provider edge (6PE), specify the peer as an IPv4 unicast address in the IPv6 unicast address family view.
To disable tunnel reachability checking, run the peer { group-name | ipv4-address } label-route-capability command, not the undo peer label-route-capability command.
Before you run the peer label-route-capability command, the peer as-number command should be used to create a peer or peer group.