network bgp peer-group show
Display BGP peer groups information
Availability: This command is available to cluster administrators at the admin privilege level.
Description
The network bgp peer-group show command displays the BGP peer groups configuration.
Parameters
- {
[-fields <fieldname>,…] -
If you specify the
-fields <fieldname>, …parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify. - |
[-instance ]} -
If you specify the
-instanceparameter, the command displays detailed information about all fields. [-ipspace <IPspace>]- IPspace Name-
This parameter selects peer groups that match the specified IPspace.
[-peer-group <text>]- Peer Group Name-
This parameter selects peer groups that match the specified name.
[-bgp-lif <lif-name>]- BGP LIF-
This parameter selects peer groups that match the specified BGP Interface.
[-peer-address <IP Address>]- Peer Router Address-
This parameter selects peer groups that match the specified peer router address.
[-peer-asn <integer>]- Peer Router Autonomous number-
This parameter selects peer groups that match the specified autonomous system number.
[-state <BGP Session State>]- Peer Group State-
This parameter selects peer groups that match the specified BGP session state.
[-bgp-node <nodename>]- BGP LIF Node-
This parameter selects peer groups that match the specified
bgp-nodevalue. This value is calculated based on the current node of the corresponding BGP LIF. [-bgp-port <netport>]- BGP LIF Port-
This parameter selects peer groups that match the specified
bgp-portvalue. This value is calculated based on the current port of the associated BGP LIF. [-route-preference <integer>]- Route Preference-
This parameter selects peer groups that match the specified route preference value.
[-asn-prepend-type <ASN Prepend type>]- ASN prepend type (privilege: advanced)-
This parameter selects peer groups that match the specified
asn-prepend-typevalue. The possible values arelocal-asnandpeer-asn. [-asn-prepend-count <integer>]- ASN prepend count (privilege: advanced)-
This parameter selects peer groups that match the specified
asn-prepend-countvalue. [-community <BGP community>,…]- BGP Community (privilege: advanced)-
This parameter selects peer groups that match the specified
communityvalue. [-med <integer>]- Multi Exit Discriminator (privilege: advanced)-
This parameter selects peer groups that match the specified med value.
[-use-peer-as-next-hop {true|false}]- Use Peer Address As Next Hop-
This parameter selects peer groups that match the specified use-peer-as-next-hop value.
[-md5-enabled {true|false}]- TCP MD5 Enabled (privilege: advanced)-
This parameter selects peer groups that match the specified md5-enabled value.
[-md5-secret <text>]- TCP MD5 Secret Key (privilege: advanced)-
This parameter selects peer groups that match the specified TCP MD5 secret key value. The value for
md5-secretmay be specified as either a string of printable ASCII characters or as a hexadecimal string. If a string of ASCII characters is specified, the string should be enclosed in quotes and be from 1-79 characters in length. If a hex string is specified, the string of hexadecimal bytes should be prefaced with 0x (e.g., 0x893785c6) and be from 2-160 hexadecimal characters in length.
Examples
cluster1::> network bgp peer-group show
IPspace: Default
Peer Local BGP Peer router Autonomous
Group Interface Address/subnet state Number Node Port
---------- --------- ----------------- -------------- ---------- ------ -----
gp1 bgp_lif1 10.0.5.37 up 10 node1 e1a
gp2 bgp_lif2 10.0.6.38 up 12 node1 e2a