Configuring BGP4
Displaying the Active Route Map Configuration
To view the device’s active route map configuration (contained in the
USING THE CLI
To display the device’s active route map configuration, enter the following command at any level of the CLI:
HP9300# show
permitnet4 permit 10 | |
match ip | address |
permitnet1 permit 1 | |
match ip | address |
setcomm permit 1 | |
set community 1234:2345 | |
test111 permit 111 | |
match | |
set community 11:12 | |
permit1122 permit 12 | |
match ip | address 11 |
permit1122 permit 13 | |
match ip | address std_22 |
This example shows that the
To display the active configuration for a specific route map, enter a command such as the following, which specifies a route map name:
HP9300# show
set community 1234:2345
This example shows the active configuration for a route map called “setcomm“.
Syntax: show
USING THE WEB MANAGEMENT INTERFACE
You cannot display the active route map configuration using the Web management interface.
Clearing Traffic Counters
You can clear the counters (reset them to 0) for BGP4 messages. To do so, use one of the following methods.
USING THE CLI
To clear the BGP4 message counter for all neighbors, enter the following command:
HP9300# clear ip bgp traffic
Syntax: clear ip bgp traffic
To clear the BGP4 message counter for a specific neighbor, enter a command such as the following:
HP9300# clear ip bgp neighbor 10.0.0.1 traffic
To clear the BGP4 message counter for all neighbors within a peer group, enter a command such as the following:
HP9300# clear ip bgp neighbor PeerGroup1 traffic
Syntax: clear ip bgp neighbor all
The all
10 - 113