address-family link-state

Use address-family link-state to create the BGP LS address family and enter its view, or enter the view of the existing address family.

Use undo address-family link-state to remove the BGP LS address family and all its configurations.

Syntax

address-family link-state

undo address-family link-state

Default

No BGP LS address family exists.

Views

BGP instance view

Predefined user roles

network-admin

Usage guidelines

Configurations made in BGP LS address family view apply only to the BGP LS routes and peers of the public network.

Examples

# In BGP instance view, create the BGP LS address family and enter its view.

<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp-default] address-family link-state
[Sysname-bgp-default-ls]