452
IP source guard configuration commands
IP source guard configuration commands are available only for SAP interface modules operating in
Layer 2 mode.
display ip source binding
Use
display ip source binding
to display IPv4 source guard entries.
Syntax
In standalone mode:
display ip source binding
[
static
] [
interface
interface-type interface-number
|
ip-address
ip-address
|
mac-address
mac-address
] [
slot
slot-number
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
In IRF mode:
display ip source binding
[
static
] [
interface
interface-type interface-number
|
ip-address
ip-address
|
mac-address
mac-address
] [
chassis
chassis-number
slot
slot-number
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Views
Any view
Default command level
1: Monitor level
Parameters
static
: Displays static IPv4 source guard entries. If you do not specify this keyword, the command
displays all static and dynamic IPv4 source guard entries.
interface
interface-type interface-number
: Displays IPv4 source guard entries of the interface
specified by its type and number.
ip-address
ip-address
: Displays IPv4 source guard entries of an IP address.
mac-address
mac-address
: Displays IPv4 source guard entries of an MAC address (in the format
H-H-H).
slot
slot-number
: Displays IPv4 source guard entries for a card. The
slot-number
argument specifies
the number of the slot that holds the card. (In standalone mode.)
chassis
chassis-number
slot
slot-number
: Displays IPv4 source guard entries for a card on an IRF
member device. The
chassis-number
argument specifies the ID of the IRF member device. The
slot-number
argument specifies the number of the slot that holds the card. (In IRF mode.)
|
: Filters command output by specifying a regular expression. For more information about regular
expressions, see
Fundamentals Configuration Guide
.
begin
: Displays the first line that matches the specified regular expression and all lines that follow.
exclude
: Displays all lines that do not match the specified regular expression.
include
: Displays all lines that match the specified regular expression.
regular-expression
: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Usage guidelines
When you do not use the
static
keyword, the command displays both static and dynamic IPv4
source guard entries. If you specify neither a port nor an interface card, the command displays static
and dynamic IPv4 source guard entries on all ports.