Configuring basic 6pe capabilities, Configuring optional 6pe capabilities – H3C Technologies H3C S12500 Series Switches User Manual

Page 392

Advertising
background image

376

Configuring basic 6PE capabilities

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter BGP view.

bgp as-number

N/A

3.

Specify the AS number for
the 6PE peer or peer group.

peer { ipv4-group-name |
ipv4-address
} as-number as-number

Not specified by default.

4.

Enter IPv6 address family
view.

ipv6-family

N/A

5.

Enable the 6PE peer or peer
group.

peer { ipv4-group-name | ipv4-address
| ipv6-address } enable

Not enabled by default.

6.

Enable the router to

exchange labeled IPv6
routes with the 6PE peer or

peer group.

peer { ipv4-group-name |
ipv4-address } label-route-capability

Not enabled by default.

Configuring optional 6PE capabilities

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter BGP view.

bgp as-number

N/A

3.

Specify the AS number for the
6PE peer or peer group.

peer { ipv4-group-name |
ipv4-address } as-number as-number

Not specified by default.

4.

Enter IPv6 address family
view.

ipv6-family

N/A

5.

Enable the 6PE peer or peer
group.

peer { ipv4-group-name |
ipv4-address | ipv6-address } enable

Not enabled by default.

6.

Advertise community attribute

to the 6PE peer or peer group.

peer { group-name | ipv4-address }
advertise-community

Optional.
Not advertised by default.

7.

Advertise extended
community attribute to the 6PE

peer or peer group.

peer { group-name | ipv4-address }
advertise-ext-community

Optional.
Not advertised by default.

8.

Allow the local AS number to
appear in routes from the peer

or peer group and specify the
repeat times.

peer { group-name | ipv4-address }
allow-as-loop [ number ]

Optional.
Not allowed by default.

9.

Specify an AS path ACL to
filter routes from or to the 6PE

peer or peer group.

peer { group-name | ipv4-address }
as-path-acl as-path-acl-number

{ import | export }

Optional.
Not configured by default.

10.

Advertise a default route to
the 6PE peer or peer group.

peer { group-name | ipv4-address }
default-route-advertise [ route-policy

route-policy-name ]

Optional.
Not advertised by default.

Advertising