Configuring The Port-Level Portguard - Cisco MDS 9000 Series Configuration Manual

Interface
Hide thumbs Also See for MDS 9000 Series:
Table of Contents

Advertisement

Configuring the Port-Level Portguard

(Optional) Configure the default setting for the administrative trunk mode state of an interface as Auto:
switch(config)# system default switchport trunk mode auto
Note
The default setting is On.
Configuring the Port-Level Portguard
All portguard causes are monitored over a common time interval with the same start and stop times. The link
down counter is not a specific event, but the aggregation of all other cause counters in the same time interval.
To configure a port-level portguard for a interface, perform these steps:
Step 1
Enter configuration mode:
switch# configure terminal
Step 2
Select the interface:
switch(config)# interface fc1/1
Step 3
Enable portguard error disabling of the interface if the link goes down once:
switch(config-if)# errdisable detect cause link-down
(Optional) Enable portguard error disabling of the interface if the link flaps a certain number of times within the specified
time, in seconds:
switch(config-if)# errdisable detect cause link-down [num-times number duration seconds ]
(Optional) Remove the portguard configuration for the interface:
switch(config-if)# no errdisable detect cause link-down
The link resumes flapping and sending error reports normally.
Step 4
Enable portguard error disabling of the interface if the specified error occurs once:
switch(config-if)# errdisable detect cause {trustsec-violation | bit-errors | credit-loss | link-reset | signal-loss |
sync-loss}
(Optional) Enable portguard error disabling of the interface if the specified error occurs a certain number times within
the specified time, in seconds:
switch(config-if)# errdisable detect cause {trustsec-violation | bit-errors | credit-loss | link-reset | signal-loss |
sync-loss} [num-times number duration seconds ]
(Optional) Remove the portguard configuration for the interface:
switch(config-if)# no errdisable detect cause {trustsec-violation | bit-errors | credit-loss | link-reset | signal-loss |
sync-loss}
The link resumes flapping and sending error reports normally.
The portguard credit loss event is triggered only on loop interfaces; it is not triggered on point-to-point interfaces.
Note
Cisco MDS 9000 Series Interfaces Configuration Guide, Release 8.x
50
Configuring Interfaces

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents