Chapter 2 Configuring Interfaces

Configuring Interfaces

Switch# show port internal info interface fc8/3

fc8/3 is down (Error disabled - port down due to trustsec violation) Hardware is Fibre Channel, SFP is short wave laser w/o OFC (SN) Port WWN is 21:c3:00:0d:ec:10:57:80

Admin port mode is E, trunk mode is on snmp link state traps are enabled Port vsan is 1

Receive data field Size is 2112 Beacon is turned off

5 minutes input rate 0 bits/sec, 0 bytes/sec, 0 frames/sec

5 minutes output rate 0 bits/sec, 0 bytes/sec, 0 frames/sec 11274 frames input, 1050732 bytes

0 discards, 0 errors

0 CRC, 0 unknown class

0 too long, 0 too short

11242 frames output, 971900 bytes

0 discards, 0 errors

11 input OLS, 34 LRR, 10 NOS, 0 loop inits 72 output OLS, 37 LRR, 2 NOS, 0 loop inits

Interface last changed at Sun Nov 27 07:34:05 1988

admin port-down trustsec-violation(3) num_times 0, duration = 0 state reason (Error disabled - port down due to trustsec violation) Port guard trustsec violation is Enabled

errdisabled on trustsec violation TRUE, oper cnt = 1

port guard first trustsec violation Sun Nov 27 07:34:05 1988

Troubleshooting Tips

Link down is the superset of all other causes. A port is brought to down state if the total number of other causes equals to the number of allowed link-down failures.

Even if the link does not flap due to failure of the link, and port guard is not enabled, the port goes into a down state if too many invalid FLOGI requests are received from the same host. Use the shut and the no shut commands consecutively to bring up the link.

Configuring Port Monitor

This section includes the following topics:

Enabling Port Monitor, page 2-31

Configuring a Port Monitor Policy, page 2-32

Activating a Port Monitor Policy, page 2-34

Enabling Port Monitor

Detailed Steps

 

 

To enable port monitor, follow these steps:

 

 

 

 

 

 

 

 

 

 

 

Command

Purpose

 

Step 1

 

 

 

 

switch# config t

Enters configuration mode.

 

Step 2

 

 

 

 

switch(config)# port-monitor enable

Enables (default) port monitoring.

 

 

 

 

 

 

 

switch(config)# no port-monitor enable

Disables port monitoring.

 

 

 

 

 

 

 

 

 

Cisco MDS 9000 Family NX-OS Interfaces Configuration Guide

 

 

 

 

 

 

 

 

 

 

 

 

 

 

OL-29284-01, Release 6.x

 

 

 

2-31

 

 

 

 

 

 

Page 53
Image 53
Cisco Systems DSC9148D8G48PK9 Configuring Port Monitor, Enabling Port Monitor, To enable port monitor, follow these steps