HP 6125G HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Routing Comma - Page 182
peer as-path-acl (BGP/BGP-VPN instance view
View all HP 6125G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 182 highlights
Use undo peer group-name as-number to delete a peer group. Use undo peer ip-address to delete a peer. By default, no peer or peer group is specified. You can specify the AS number of a peer in either of the following ways: • Use the peer ip-address as-number as-number command. After that, the system creates the specified peer by default. • Specify the AS number of the peer when adding it to the specified peer group by using the peer ip-address group group-name as-number as-number command; or use the peer as-number command to specify the AS number of a peer group, and then a newly added peer will belong to the AS. The AS number of a peer/peer group cannot be modified directly. To do so, you have to delete the peer/peer group and configure it again. Examples # In BGP view, specify peer group test in AS 100. system-view [Sysname] bgp 100 [Sysname-bgp] peer test as-number 100 # In BGP-VPN instance view, specify peer group test2 in AS 200. (The VPN has been created.) system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family vpn-instance vpn1 [Sysname-bgp-ipv4-vpn1] peer test2 as-number 200 peer as-path-acl (BGP/BGP-VPN instance view) Syntax peer { group-name | ip-address } as-path-acl as-path-acl-number { export | import } View undo peer { group-name | ip-address } as-path-acl as-path-acl-number { export | import } BGP view, BGP-VPN instance view Default level 2: System level Parameters group-name: Name of a peer group, a string of 1 to 47 characters. ip-address: IP address of a peer. as-path-acl-number: AS path list number, in the range of 1 to 256. export: Filters outgoing routes. import: Filters incoming routes. Description Use peer as-path-acl to configure the filtering of routes incoming from or outgoing to a peer/peer group based on a specified AS path list. 171