hit counter script

Verifying The Switchport Blocking Configuration; Configuration Example For Switchport Blocking - Cisco Nexus 9000 Series Configuration Manual

Nx-os security configuration guide, release 9.x
Hide thumbs Also See for Nexus 9000 Series:
Table of Contents

Advertisement

Configuring Switchport Blocking
Command or Action
switch# interface ethernet 1/1
switch(config-if)#
Step 3
[no] switchport block {multicast | unicast}
Example:
switch(config-if)# switchport block unicast
Step 4
(Optional) show interface [ethernet slot/port |
port-channel number] switchport
Example:
switch(config-if)# show interface ethernet 1/1
switchport
Step 5
(Optional) copy running-config startup-config
Example:
switch(config-if)# copy running-config
startup-config

Verifying the Switchport Blocking Configuration

To display switchport blocking configuration information, perform one of the following tasks:
Command
show interface switchport
show interface {ethernet slot/port | port-channel number} switchport
show running-config interface [ethernet slot/port | port-channel
number]

Configuration Example for Switchport Blocking

The following example shows how to block multicast and unicast flooding on Ethernet interface 1/2 and how
to verify the configuration:
switch# configure terminal
switch(config)# interface ethernet 1/2
switch(config-if)# switchport block multicast
switch(config-if)# switchport block unicast
switch(config-if)# show running-config interface ethernet 1/2
!Command: show running-config interface Ethernet1/2
!Time: Wed Apr 15 16:25:48 2015
Purpose
Prevents the flooding of unknown multicast or unicast
packets on the specified interface.
Use the no form of this command to resume normal
forwarding on the port.
Displays the switchport blocking configuration.
Copies the running configuration to the startup
configuration.
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.x
Verifying the Switchport Blocking Configuration
Purpose
Displays the switchport blocking
configuration for all interfaces.
Displays the switchport blocking
configuration for the specified
interface.
Displays the switchport blocking
configuration in the running
configuration.
451

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents

Save PDF