vrouter-bgp-neighbor-reset

This command is used to reset a BGP neighbor in the configuration.

Syntax   vrouter-bgp-neighbor-reset

vrouter-name name-string

Specify the name of the vRouter to reset.

neighbor ip-address

Specify the IP address of the BGP neighbor.

Defaults   None

Access   CLI

History   Command introduced in Version 2.2.3.

Usage   Use this command to reset a BGP neighbor on the network.

Examples  To reset the BGP neighbor with the IP address, 10.9.31.234, use the following syntax:

CLI network-admin@switch > vrouter-bgp-neighbor-reset neighbor 10.9.31.234

vrouter-bgp-neighbor-show

This command displays information about Border Gateway Protocol (BGP) neighbors.

Syntax   vrouter-bgp-neighbor-show

vrouter-name name-string

Specifies the name of the vRouter.

Specifies the following BGP neighbor arguments:

neighbor ip-address

Specifies the IP address of the neighbor.

ver ver-number 

Specifies the BGP version.

remote-as remote-as-number

Specifies the AS number of the remote connection.

msg_rcvd msg_rcvd-number

Specifies the number of messages received from the receive socket buffer.

msg_sent msg_sent-number

Specifies the number of messages written to the transmit socket buffer.

tblver tblver-number

Specifies the version of the routing table.

inQ inQ-number

Specifies the number of BGP packets queued for a neighbor.

outQ outQnumber

Specifies the number of BGP packets queued for transmission to a neighbor.

up/down up/down-string

Specifies if the neighbor is up or down.

state/pfxrcd state/pfxrcd-string

Specifies the current state of the BGP session. The state can be any of the following types:

• 1 — Idle

• 2 — Connect

• 3 — Active

• 4 — OpenSent

• 5 — OpenConfirm

• 6 — Established

remote-router remote-router-string

Specifies the neighbor router name.

multi-protocol ipv4-unicast|ipv6-unicast|

Specify a multi-protocol for BGP.

Defaults   None

Access   CLI

History   

Version 2.0

Command introduced.

Version 2.4.1

The parameter, remote-router, added.

Usage   Use this command to display information about BGP neighbors configured on a vRouter.

Examples  To display all information about BGP neighbors, use the following command:

CLI network-admin@switch > vrouter-bgp-neighbor-show

vrouter-name: vrouter33       

neighbor:     10.9.100.200

ver:          4

remote-as:    100

msg_rcvd:     324

msg_sent:     330

tblver:       0

inQ:          0

outQ:         0

up/down:      00:31:25

state/pfxrcd: 1

vrouter-name: vrouter55

neighbor:     10.9.100.100

ver:          4

remote-as:    100

msg_rcvd:     325

msg_sent:     330

tblver:       0

inQ:          0

outQ:         0

up/down:      00:31:26

state/pfxrcd: 1

vrouter-bgp-neighbor-detail-show

This command displays detailed information about Border Gateway Protocol (BGP) neighbors.

Syntax   vrouter-bgp-neighbor-detail-show

vrouter-name name-string

Specifies the name of the vRouter.

Specifies the following BGP neighbor arguments:

neighbor vrouter bgp-neighbor neighbor 

Specifies the IP address of the neighbor.

remote-as remote-as-number

Specifies the AS number of the remote connection.

local-as local-as-number

Specifies the number local AS .

remote-id ip-address

Specifies the neighbor router ID.

state idle|connect|active|open-sent|open-confirm|established|clearing

Specifies the current state of the BGP session. The state can be any of the following types:

• 1 — Idle

• 2 — Connect

• 3 — Active

• 4 — OpenSent

• 5 — OpenConfirm

• 6 — Established

up-for up-for-string

Specifies the time of an active connection.

last-read last-read-string 

Specifies the time of the last message received.

holdtime holdtime-number (s)

Specifies the holdtime in seconds.

keepalive keepalive-number (s)

Specifies the keepalive interval in seconds.

min-adv min-adv-number (s)

Specifies the minimum advertisement level in seconds.

open-sent open-sent-number 

Specifies the number of open messages sent.

open-rcvd open-rcvd-number

Specifies the number of open messages received.

notif-sent notif-sent-number

Specifies the number of notification messages sent.

notif-rcvd notif-rcvd-number

Specifies the number of notification messages received.

update-sent update-sent-number

Specifies the number of update messages sent.

update-rcvd update-rcvd-number 

Specifies the number of update messages received.

keepalive-sent keepalive-sent-number 

Specifies the    number of keepalive messages sent.

keepalive-rcvd keepalive-rcvd-number 

Specifies the    number of keepalive messages received.

comm-attr-send-ipv4 both|standard|extended

Specifies the type of community attribute send to this neighbor for IPv4.

prefix-accepted-ipv4 prefix-accepted-ipv4-number

Specifies the    number of prefixes accepted for IPv4 unicast.

comm-attr-send-ipv6 both|standard|extended

Specifies  the type of community attribute send to this neighbor for IPv6 unicast.

prefix-accepted-ipv6 prefix-accepted-ipv6-number

Specifies number of prefixes accepted for IPv6 unicast.

conn-established conn-established-number

Specifies the number of times a session has been successfully established.

conn-dropped conn-dropped-number

Specifies the number of times a session has failed or taken down.

last-reset last-reset-string

Specifies the time since the session was last reset.

start-due start-due-number (s)

Specifies the    next start timer due in seconds.

connect-due connect-due-number (s)

Specifies the    next connect timer due in seconds.

Defaults   None

Access   CLI

History    Command introduced in Version 3.0.0.

Usage   Use this command to display detailed information about BGP neighbors configured on a vRouter.

Examples  To display all information about BGP neighbors, use the following command:

CLI network-admin@switch > vrouter-bgp-neighbor-show

vrouter-bgp-neighbor-shutdown

This command is used to send BGP an admin-down notification message to a BGP peer.

Syntax   vrouter-bgp-neighbor-shutdown vrouter-name name-string neighbor ip-address

vrouter-name name-string

Specify the name of the vRouter to reset.

neighbor ip-address

Specify the IP address of the BGP neighbor.

Defaults   None

Access   CLI

History   Command introduced in Version 2.6.2.

Usage   Use this command to end BGP admin-down notification message to a BGP peer.

Examples  To end BGP admin-down notification message to a BGP peer with the IP address, 10.9.31.234, use the following syntax:

CLI network-admin@switch > vrouter-bgp-neighbor-shutdown vrouter bgp-2 neighbor 10.9.31.234

vrouter-bgp-neighbor-no-shutdown

This command is used to send BGP an admin-down notification message to a BGP peer.

Syntax   vrouter-bgp-neighbor-shutdown vrouter-name name-string neighbor ip-address

vrouter-name name-string

Specify the name of the vRouter to reset.

neighbor ip-address

Specify the IP address of the BGP neighbor.


Defaults   None

Access   CLI

History   Command introduced in Version 2.6.2.

Usage   Use this command to send BGP admin-down notification message to a BGP peer.

Examples  To send BGP admin-down notification message to a BGP peer with the IP address, 10.9.31.234, use the following syntax:

CLI network-admin@switch > vrouter-bgp-neighborno--shutdown vrouter bgp-2 neighbor 10.9.31.234