Command Examples - ZyXEL Communications IES4005M User Manual

2u 5-slot temperature-hardened chassis msan
Table of Contents

Advertisement

Table 82 Loop Guard Commands Summary (continued)
COMMAND
loopguard policy
fix|dynamic
loopguard recover-time
<time>
loopguard uni-vlan <vid>
[pbit <pbit>]
no loopguard uni-vlan
no loopguard

13.7.1 Command Examples

This example shows port 1 on slot 2 is disabled, then enables the port and loop guard on it as well.
It also sets the IES to shut down port 1 if it detects a loop on it on VLAN 100 and wait 300 seconds
before reactivating it. This example also shows whether the port has linked up with the connected
CPE port, loop guard status, sending and receiving packet statistics, and the date and time this port
was last shut down.
ras#
show interface dsl 2/1 config
slot port enable
---- ---- ------ -------------------------------
2
1
template mapping
slot port
---- ---- ------------------------------- -------------------------------
2
1
DEFVAL
ras# config
ras(config)# interface dsl 2/1
ras(config-interface-dsl-2/1)#
ras(config-interface-dsl-2/1)#
ras(config-interface-dsl-2/1)#
ras(config-interface-dsl-2/1)#
ras(config-interface-dsl-2/1)#
ras(config-interface-dsl-2/1)# exit
ras(config)# exit
ras#
show interface dsl 2/1 loopguard
LoopGuard Status:
Port
Port
No
Status
----
--------
2/1
Inactive
ras#
IES4005M User's Guide
DESCRIPTION
Sets which action to take when a loop condition is detected on one of
the specified DSL ports.
: shut down the port, you need to enable the port by command
fix
: shutdown the port, and recover it after the recover time
dynamic
Configures the recover time for the dynamic loop guard policy.
: 60-600 in seconds
time
Tells the IES what VID (and optionally IEEE 802.1p priority bit) to look
for to detect loopguard packets. Detecting the loopguard packets fails if
the VLAN mode you configured (through vlan trunk for example) does
not match the loopguard VID.
vid: 1 ~ 4093
pbit: 0~7, default 6
Removes the VID and IEEE 802.1p priority bit settings that the IES
uses to detect loopguard packets.
Disables loop guard.
name
-
line-template
active
loopguard
loopguard policy dynamic
loopguard uni-vlan 100
loopguard recover-time 300
Enable
LoopGuard
Total
Status
TxPkts
---------
--------
Enable
0
alarm-template
DEFVAL
Total
Bad
Shutdown
RxPkts
Pkts
Time
--------
----
---------------------------
0
0
00:00:00 Thu. Jan. 01, 197
Chapter 13 Switch Features
M
P
C
13
C
13
C
13
C
13
C
13
119

Advertisement

Table of Contents
loading

Table of Contents