show portfilter

Syntax

show portfilter [<IFNAME>] [vsx-peer]

Description

Displays filter settings for all interfaces or a specific interface.

Command context

Operator (>) or Manager (#)

Parameters

<IFNAME>

Specifies the ingress interface name.

[vsx-peer]

Shows the output from the VSX peer switch. If the switches do not have the VSX configuration or the ISL is down, the output from the VSX peer switch is not displayed. This parameter is available on switches that support VSX.

Authority

Operators or Administrators or local user group members with execution rights for this command. Operators can execute this command from the operator context (>) only.

Examples

Displaying all port filter settings on the switch:

switch# show portfilter
Incoming   Blocked
Interface  Outgoing Interfaces
-------------------------------------------------------------------------------
1/1/1      1/1/3-1/1/6,lag1-lag2
1/1/3      1/1/1,1/1/5,1/1/7,1/1/9,1/1/11,1/1/13,1/1/15,1/1/17,1/1/19,1/1/21,
           1/1/23,1/1/25,1/1/27,1/1/29,1/1/31,1/1/33,1/1/35
lag2       1/1/1,1/1/3-1/1/6

Displaying the port filter settings for port 1/1/1:

switch# show portfilter 1/1/1
Incoming   Blocked
Interface  Outgoing Interfaces
-------------------------------------------------------------------------------
1/1/1      1/1/3-1/1/6,lag1-lag2

Displaying the port filter settings for LAG2:

switch# show portfilter lag2
Incoming   Blocked
Interface  Outgoing Interfaces
-------------------------------------------------------------------------------
lag2       1/1/1,1/1/3-1/1/6