Catalyst 5000 Family Command Reference (6.3 and 6.4)
set default portstatus through set logging console

Table Of Contents

set enablepass

set errdisable-timeout

set errordetection

set feature fw-disable

set feature mdg

set feature no-isl-entries

set fddi alarm

set fddi cutoff

set fddi tlmin

set fddi tnotify

set fddi treq

set fddi userdata

set garp timer

set gmrp

set gmrp fwdall

set gmrp registration

set gmrp timer

set gvrp

set gvrp applicant

set gvrp dynamic-vlan-creation

set gvrp registration

set gvrp timer

set igmp

set igmp fastleave

set igmp mode

set interface

set ip alias

set ip dns

set ip dns domain

set ip dns server

set ip fragmentation

set ip http port

set ip http server

set ip permit

set ip redirect

set ip route

set ip unreachable

set kerberos clients mandatory

set kerberos credentials forward

set kerberos local-realm

set kerberos realm

set kerberos server

set kerberos srvtab entry

set kerberos srvtab remote

set key config-key

set length

set logging buffer

set logging console

set logging history


2

set enablepass

Use the set enablepass command to change the privileged (enable) mode password on the switch.

set enablepass

Syntax Description

This command has no arguments or keywords.

Defaults

The default configuration has no enable password configured.

Command Types

Switch command.

Command Modes

Privileged.

Usage Guidelines

Passwords are case sensitive and may be 0 to 30 characters in length, including spaces.

The command prompts you for the old password. If the password you enter is valid, you are prompted to enter a new password and to verify the new password.

Examples

This example shows how to establish a new password:

Console> (enable) set enablepass
Enter old password: <old_password>
Enter new password: <new_password>
Retype new password: <new_password>
Password changed.
Console> (enable)

Related Commands

enable
set password

set errdisable-timeout

Use the set errdisable-timeout command to configure a timeout for ports in errdisable state, after which the ports are reenabled automatically.

set errdisable-timeout {enable | disable} {reason}

set errdisable-timeout interval {interval}

Syntax Description

enable

Keyword to enable errdisable timeout.

disable

Keyword to disable errdisable timeout.

reason

Reason for the port being in the errdisable state; valid values are bpdu-guard, channel-misconfig, duplex-mismatch, udld, other, and all.

interval interval

Timeout interval; valid values are from 30 to 86400 seconds (30 seconds to 24 hours).


Defaults

The default is disable and the interval default is 300 seconds.

Command Types

Switch command.

Command Modes

Privileged.

Usage Guidelines

These events can set a port to errdisable state:

Channel misconfiguration

Duplex mismatch

BPDU port-guard

UDLD

Other

Ports that are in errdisable state due to a cause other than a channel misconfiguration, duplex mismatch, BPDU port-guard, or UDLD, will have an errdisable cause of Other. If you enter the other keyword, the ports are in an errdisable timeout.

Examples

This example shows how to enable an errdisable timeout for BPDU guard causes:

Console> (enable) set errdisable-timeout enable bpdu-guard
Successfully enabled errdisable-timeout for bpdu-guard.
Console> (enable)  
 

This example shows how to set an errdisable timeout interval to 450 seconds:

Console> (enable) set errdisable-timeout interval 450
Successfully set errdisable timeout to 450 seconds.
Console> (enable) 

Related Commands

show errdisable-timeout

set errordetection

Use the set errordetection command set to enable or disable various error detections.

set errordetection inband enable | disable

set errordetection memory enable | disable

set errordetection portcounters enable | disable

Syntax Description

enable

Keyword to enable the specified error detection.

disable

Keyword to disable the specified error detection.

inband

Keyword to detect errors in the inband (SC0) interface.

memory

Keyword to detect memory corruption.

portcounters

Keyword to monitor and poll port counters.


Defaults

The default is portcounters error detection is enabled, and memory and inband error detection is disabled.

Command Types

Switch command.

Command Modes

Privileged.

Usage Guidelines

The set errordetection command is useful for monitoring the switch. If an error is detected, a syslog message informs you that a problem exists before noticeable performance degradation occurs. For example:

set errordetection inband—Displays the type of inband failure occurence, such as, inband stuck, resource errors, and inband fail during bootup.

set errordetection memory—Displays the address where the memory corruption occured.

set errordetection portcounters—Displays the module and port number and the counter that had the problem between two consecutive polls.

Examples

This example shows how to enable memory error detection:

Console> (enable) set errordetection memory enable
Memory error detection enabled.
Console> (enable)

Related Commands

show errordetection

set feature fw-disable

Use the set feature fw-disable command to enable a feature that disables ports showing enough FCS and alignment errors to indicate a duplex mismatch.

set feature fw-disable {enable | disable}

Syntax Description

enable

Keyword to disable the feature.

disable

Keyword to disable the feature.


Defaults

The default is disabled.

Command Types

Switch command.

Command Modes

Privileged.

Usage Guidelines

If there is a duplex mismatch on an ISL trunk into a cat5000 switch, swBusCRCErrorDrop errors will be seen on all ports of the switch. The port with the mismatch will also see RxInnerCRCErrorDrop errors. If this mismatch is allowed to continue, then traffic between buses might be dropped.

Enter the set feature fw-disable enable command to disable the ports with the duplex mismatch.

For additional information, refer to the "Open and Resolved Caveats for Software Release 5.5(13)" section in the Release Notes for Catalyst 5000 Family Software Release 5.x publication and the DDTS release note entry for CSCdw11398.

Examples

This example shows how to turn on the feature to disable the port with the duplex mismatch:

Console> (enable) set feature fw-disable enable
no ISL entry feature enabled.
Console> (enable) 

set feature mdg

Use the set feature mdg command to enable the Multiple Default Gateway (MDG) feature.

set feature mdg {enable | disable}

Syntax Description

enable

Keyword that enables multiple default gateway feature on the switch.

disable

Keyword that disables multiple default gateway feature on the switch.


Defaults

The default is MDG is enabled.

Command Types

Switch command.

Command Modes

Privileged.

Usage Guidelines

If the MDG feature is enabled, the switch will ping its default gateways every ten seconds to verify that they are available.

Examples

This example shows how to enable the MDG feature:

Console> (enable) set feature mdg enable
Multiple Default Gateway feature enabled.
Console> (enable) 

This example shows how to disable the MDG feature:

Console> (enable) set feature mdg disable
Multiple Default Gateway feature disabled.
Console> (enable)

set feature no-isl-entries

Use the set feature no-isl-entries command to enable installation of ISL system entries into the CAM table.

set feature no-isl-entries {enable | disable}

Syntax Description

enable

Keyword that prevents installation of ISL system entries in the CAM table.

disable

Keyword that allows installation of ISL system entries in the CAM table.


Defaults

The default is disabled; ISL system entries are installed.

Command Types

Switch command.

Command Modes

Privileged.

Usage Guidelines


Caution Use caution when implementing the set feature no-isl-entries command. This command should only be used on stub switches that do not have any switches connected to it. This would ensure that the packets will not get flooded further down.

This feature is recommended only for DSL-type application service providers, where MAC addresses learned through ATM are not programmed in the CAM table.

For additional information, refer to the "Open and Resolved Caveats for Software Release 5.5(13)" section in the Release Notes for Catalyst 5000 Family Software Release 5.x publication and the DDTS release note entry for CSCdw86312.

Examples

This example shows how to allow ISL system entries to be installed in the CAM table:

Console> (enable) set feature no-isl-entries enable
no ISL entry feature enabled.
Console> (enable) 

set fddi alarm

Use the set fddi alarm command to specify the LER-alarm value for an FDDI port. The value defines the rate at which the LER threshold is exceeded on a link. The LER-alarm value affects the results of the LER threshold test.

set fddi alarm mod/port value

Syntax Description

mod/port

Number of the module and the port on the module.

value

Value for the LER-alarm parameter. This exponential value represents the number of link errors per second (that is, 10-value link errors per second). Valid values are between 7 and 15.


Defaults

The default LER-alarm value is 8 milliseconds (10-8 seconds).

Command Types

Switch command.

Command Modes

Privileged.

Examples

This example shows how to change the LER-alarm value to 10-11 seconds for port 1 on module 4:

Console> (enable) set fddi alarm 4/1 11
Port 4/1 alarm value set to 11.
Console> (enable)

Related Commands

set fddi cutoff
set fddi tlmin
set fddi tnotify
set fddi treq
set fddi userdata
show fddi

set fddi cutoff

Use the set fddi cutoff command to specify the LER-cutoff value for an FDDI port. The LER-cutoff value determines the LER at which a connection is flagged as faulty. The LER-cutoff value affects the results of the LER threshold test.

set fddi cutoff mod/port value

Syntax Description

mod/port

Number of the module and the port on the module.

value

Exponential value for the LER-cutoff parameter (that is, 10-value link errors per second); valid values are between 7 and 15.


Defaults

The default LER-cutoff value is 7 milliseconds (10-7 seconds).

Command Types

Switch command.

Command Modes

Privileged.

Examples

This example shows how to change the LER-cutoff value to 10¯10 seconds for port 1 on module 4:

Console> (enable) set fddi cutoff 4/1 10
Port 4/1 cutoff value set to 10.
Console> (enable)

Related Commands

set fddi alarm
set fddi tlmin
set fddi tnotify
set fddi treq
set fddi userdata
show fddi

set fddi tlmin

Use the set fddi tlmin command to change the TL_MIN value for an FDDI port.

set fddi tlmin mod/port microseconds

Syntax Description

mod/port

Number of the module and the port on the module.

microseconds

Number of microseconds for the TL_MIN parameter; valid values are from 40 to 1340006 microseconds.


Defaults

The default value for TL_MIN is 40 microseconds.

Command Types

Switch command.

Command Modes

Privileged.

Usage Guidelines

The TL_MIN value specifies the minimum time to transmit a PHY line state before advancing to the next PCM state. This setting affects the station and switch interoperability and might affect the implementation of FDDI repeaters.

Examples

This example shows how to change the TL_MIN value to 80 microseconds for port 1 on module 4:

Console> (enable) set fddi tlmin 4/1 80
Port 4/1 tlmin set to 80 usec.
Console> (enable)

Related Commands

set fddi alarm
set fddi cutoff
set fddi tnotify
set fddi treq
set fddi userdata
show fddi

set fddi tnotify

Use the set fddi tnotify command to change the TNotify timer value for an FDDI module.

set fddi tnotify mod time

Syntax Description

mod

Number of the module.

time

Number of seconds for the TNotify timer; valid values are from 2 to 30 seconds.


Defaults

The default value for the TNotify timer is 30 seconds.

Command Types

Switch command.

Command Modes

Privileged.

Usage Guidelines

The TNotify parameter sets the interval (in seconds) between neighbor notification frames. These frames advertise FDDI module MAC addresses to neighboring devices. Usually, the default setting is sufficient.

Examples

This example shows how to change the TNotify timer value to 16 seconds for module 4:

Console> (enable) set fddi tnotify 4 16
Module 4 SMT T-Notify set to 16 sec.
Console> (enable) 

Related Commands

set fddi alarm
set fddi cutoff
set fddi tlmin
set fddi treq
set fddi userdata
show fddi

set fddi treq

Use the set fddi treq command to change the TRequest value for an FDDI module.

set fddi treq mod time

Syntax Description

mod

Number of the module.

time

Number of microseconds for the TRequest value; valid values are from 2502 to 165,000 microseconds.


Defaults

The default value for the TRequest is 165,000 microseconds.

Command Types

Switch command.

Command Modes

Privileged.

Usage Guidelines

The TRequest parameter specifies the default TRT value for the FDDI module. This value is used when negotiating the TRT with other stations. The TRT is used to control ring scheduling during normal operation and to detect and recover from serious ring error situations. Whenever the TRT expires, the station uses the TRequest value to negotiate with other stations for the lowest value. The default setting of 165,000 microseconds is sufficient for most networks.

Examples

This example shows how to change the TRequest value to 3500 microseconds for module 4:

Console> (enable) set fddi treq 4 3500
Mac 4/1 T-request set to 3500 usec.
Console> (enable) 

Related Commands

set fddi alarm
set fddi cutoff
set fddi tlmin
set fddi tnotify
set fddi userdata
show fddi

set fddi userdata

Use the set fddi userdata command to configure the user-data string in the SMT MIB of an FDDI module.

set fddi userdata mod [userdata_string]

Syntax Description

mod

Number of the module.

userdata_string

(Optional) Unique character string that identifies the node.


Defaults

The default value for the FDDI user-data string is "Catalyst 5000."

Command Types

Switch command.

Command Modes

Privileged.

Usage Guidelines

The user-data string identifies the FDDI module or the Catalyst 5000 family switch when you use a management tool to configure and maintain an internetwork or when you access the FDDI module remotely. The userdata_string might be a term identifying the network node or the users connected to the network node.

Examples

This example shows how to change the user-data string to Engineering for module 4:

Console> (enable) set fddi userdata 4 Engineering
Module 4 SMT User Data set to Engineering.
Console> (enable) 

Related Commands

set fddi alarm
set fddi cutoff
set fddi tlmin
set fddi tnotify
set fddi treq
show fddi

set garp timer

Use the set garp timer command to adjust the values of the join, leave, and leaveall timers.

set garp timer timer_type timer_value

Syntax Description

timer_type

Type of timer; valid values are join, leave, and leaveall.

timer_value

Timer values in milliseconds; valid values are 1 to 2147483647 milliseconds.


Defaults

The join timer default is 200 milliseconds; the leave timer default is 600 milliseconds; the leaveall timer default is 10000 milliseconds.

Command Types

Switch command.

Command Modes

Privileged.

Usage Guidelines

You must maintain the following unital relationship for the various timer values:

leave time > 2 * join time

leaveall time > leave time


Note The modified values of timers are applied to all GARP applications, ports, and VLANs on the switch.


Examples

This example shows how to set the join timer value to 100 ms for all the ports on all the VLANs:

Console> (enable) set garp timer join 100
GMRP/GARP Join timer value is set to 100 milliseconds.
Console> (enable)

This example shows how to set the leave timer value to 300 ms for all the ports on all the VLANs:

Console> (enable) set garp timer leave 300
GMRP/GARP Leave timer value is set to 300 milliseconds.
Console> (enable)

This example shows how to set the leaveall timer value to 20000 ms for all the ports on all the VLANs:

Console> (enable) set garp timer leaveall 20000
GMRP/GARP LeaveAll timer value is set to 20000 milliseconds.
Console> (enable)

set gmrp timer
set gvrp timer
show gmrp configuration
show gvrp configuration

set gmrp

Use the set gmrp command to enable or disable GMRP on the switch in all VLANs on all ports.

set gmrp {enable | disable}

Syntax Description

enable

Keyword to enable GMRP on the switch.

disable

Keyword to disable GMRP on the switch.


Defaults

The default is GMRP is disabled.

Command Types

Switch command.

Command Modes

Privileged.

Usage Guidelines

You cannot enable GMRP if IGMP snooping or CGMP is already enabled.

Examples

This example shows how to enable GMRP on the switch:

Console> (enable) set gmrp enable
GMRP is enabled.
Console> (enable)

This example shows how to disable GMRP on the switch:

Console> (enable) set gmrp disable
GMRP is disabled.
Console> (enable)

This example shows the display if you try to enable GMRP on the switch with IGMP enabled:

Console> (enable) set gmrp enable
Disable IGMP to enable GMRP snooping feature.
Console> (enable)

Related Commands

show gmrp configuration

set gmrp fwdall

Use the set gmrp fwdall command to enable or disable the Forward All option on a specified port or module and port list.

set gmrp fwdall {enable | disable} mod/port...

Syntax Description

enable

Keyword to enable GMRP Forward All on a specified port.

disable

Keyword to disable GMRP Forward All on a specified port.

mod/port...

Module number and port number list.


Defaults

The default is the Forward All option is disabled for all ports.

Command Types

Switch command.

Command Modes

Privileged.

Usage Guidelines

When you enable the Forward All option on a port, that port receives all traffic for all multicast groups on the switch.

If you enable the Forward All option on a trunk port, the option is applied to all VLANs carried on that trunk port.

Examples

This example shows how to enable GMRP Forward All on module 5, port 5:

Console> (enable) set gmrp fwdall enable 5/5
GMRP Forward All groups option enabled on port(s) 5/5.
Console> (enable)

This example shows how to disable the GMRP Forward All on module 3, port 2:

Console> (enable) set gmrp service fwdall disable 3/2
GMRP Forward All groups option disabled on port(s) 3/2.
Console> (enable)

Related Commands

show gmrp configuration

set gmrp registration

Use the set gmrp registration command to specify the GMRP registration type.

set gmrp registration registration-type mod/port...

Syntax Description

registration-type

Type of registration; valid values are normal, fixed, or forbidden.

mod/port...

Number of the module and the ports on the module.


Defaults

The default is normal registration.

Command Types

Switch command.

Command Modes

Privileged.

Usage Guidelines

If you enter a registration-type value of normal, dynamic creation, registration, and deregistration of VLANs are supported.

If you enter a registration-type value of fixed, manual VLAN creation and registration, prevention of VLAN deregistration, and registration of all VLANs known to other ports when the set gvrp registration fixed command is issued are supported.

If you enter a registration-type value of forbidden, deregistration of all VLANs (except VLAN 1) and prevention of any further VLAN creation or registration are supported.

GMRP supports 100 multicast addresses per VLAN and a total of 3072 for the whole switch.

Examples

This example shows how to set the registration type to fixed on module 3, port 3:

Console> (enable) set gmrp registration fixed 3/3
GMRP Registration is set to Fixed for port(s) 3/3.
Console> (enable)

This example shows how to set the registration type to forbidden on module 1, port 1:

Console> (enable) set gmrp registration forbidden 1/1
GMRP Registration is set to Forbidden for port(s) 1/1.
Console> (enable)

Related Commands

show gmrp configuration

set gmrp timer

Use the set gmrp timer command to adjust the values of the join, leave, and leaveall timers.

set gmrp timer timer-type timer-value

Syntax Description

timer-type

Type of timer; valid values are join, leave, and leaveall.

timer-value

Timer values in milliseconds; valid values are 1 to 2,147,483,647 milliseconds.


Defaults

The join timer is 200 milliseconds; the leave timer is 600 milliseconds; the leaveall timer is 10,000 milliseconds.

Command Types

Switch command.

Command Modes

Privileged.

Usage Guidelines

You must maintain the following unital relationship for the various timer values:

leave time > 2 * join time

leaveall time > leave time

The modified values of timers are applied to all the GARP applications, ports, and VLANs on the switch.

Examples

This example shows how to set the join timer value to 100 ms for all the ports on all the VLANs:

Console> (enable) set gmrp timer join 100
GARP Join timer value is set to 100 milliseconds.
Console> (enable)

This example shows how to set the leave timer value to 300 ms for all the ports on all the VLANs:

Console> (enable) set gmrp timer leave 300
GARP Leave timer value is set to 300 milliseconds.
Console> (enable)

This example shows how to set the leaveall timer value to 20,000 ms for all the ports on all the VLANs:

Console> (enable) set gmrp timer leaveall 20000
GARP LeaveAll timer value is set to 20000 milliseconds.
Console> (enable)

Related Commands

set gvrp timer
set garp timer
show gmrp timer

set gvrp

Use the set gvrp command to enable or disable GVRP globally on the switch.

set gvrp {enable | disable}

Syntax Description

enable

Keyword to enable GVRP on the switch.

disable

Keyword to disable GVRP on the switch.


Defaults

The default is GVRP is disabled.

Command Types

Switch command.

Command Modes

Privileged.

Usage Guidelines

To run GVRP on a trunk, enable GVRP globally on the switch and individually on the trunk.

When VTP pruning is enabled, VTP pruning runs on all the GVRP-disabled trunks.

Examples

This example shows how to enable GVRP globally on the switch:

Console> (enable) set gvrp enable
GVRP enabled. 
Console> (enable) 

This example shows how to disable GVRP:

Console> (enable) set gvrp disable
GVRP disabled.
Console> (enable) 

This example shows how to enable GVRP on module 2, port 1:

Console> (enable) set gvrp enable 2/1
GVRP enabled on port 2/1. 
Console> (enable) 

Related Commands

set garp timer
set gvrp timer
show gmrp statistics
show gmrp timer

set gvrp applicant

Use the set gvrp applicant command to specify whether or not a VLAN is declared out of blocking ports.

set gvrp applicant normal | active mod/port...

Syntax Description

normal

Keyword to disallow the declaration of any VLAN out of blocking ports.

active

Keyword to allow the declaration of active VLANs out of blocking ports.

mod/port...

Module number and port number list.


Defaults

The default is GVRP applicant set to normal.

Command Types

Switch command.

Command Modes

Privileged.

Usage Guidelines

To run GVRP on a trunk, GVRP needs to be enabled both globally on the switch and enabled individually on the trunk.

To prevent undesirable STP topology reconfiguration on a port connected to a device that does not support the per-VLAN mode of STP, configure the GVRP applicant state to active on the port. Ports in the GVRP active applicant state send GVRP VLAN declarations when they are in the STP blocking state, which prevents the STP BPDUs from being pruned from the other port.


Note Configuring fixed registration on the other device's port also prevents undesirable STP topology reconfiguration.


Examples

This example shows how to enforce the declaration of all active VLANs out of specified blocking ports:

Console> (enable) set gvrp applicant active 4/2-3,4/9-10,4/12-24
Applicant was set to active on port(s) 4/2-3,4/9-10,4/12-24.
Console> (enable) 

This example shows how to disallow the declaration of any VLAN out of specified blocking ports:

Console> (enable) set gvrp applicant normal 4/2-3,4/9-10,4/12-24
Applicant was set to normal on port(s) 4/2-3,4/9-10,4/12-24.
Console> (enable) 

Related Commands

show gvrp configuration

set gvrp dynamic-vlan-creation

Use the set gvrp dynamic-vlan-creation command to enable or disable GVRP dynamic VLAN creation.

set gvrp dynamic-vlan-creation {enable | disable}

Syntax Description

enable

Keyword to enable dynamic VLAN creation.

disable

Keyword to disable dynamic VLAN creation.


Defaults

The default is dynamic VLAN creation is disabled.

Command Types

Switch command.

Command Modes

Privileged.

Usage Guidelines

You can enable dynamic VLAN creation only when VTP is in transparent mode and no ISL trunks exist in the switch.

You cannot use this command when there are any 802.1q trunks that are not configured with GVRP.

Examples

This example shows how to enable dynamic VLAN creation:

Console> (enable) set gvrp dynamic-vlan-creation enable
Dynamic VLAN creation enabled.
Console> (enable)

This example shows what happens if you try to enable dynamic VLAN creation and VTP is not in transparent mode:

Console> (enable) set gvrp dynamic-vlan-creation enable
VTP has to be in TRANSPARENT mode to enable this feature. 
Console> (enable)

This example shows how to disable dynamic VLAN creation:

Console> (enable) set gvrp dynamic-vlan-creation disable
Dynamic VLAN creation disabled.
Console> (enable)

Related Commands

set vtp
show gvrp configuration

set gvrp registration

Use the set gvrp registration command to set the administrative control of an outbound port. GVRP registration commands are entered on a per-port basis and applied to all VLANs on the trunk.

set gvrp registration {normal | fixed | forbidden} mod/port...

Syntax Description

normal

Keyword to allow dynamic registering and deregistering each VLAN (except VLAN 1) on the port.

fixed

Keyword to support manual VLAN creation and registration, prevent VLAN deregistration, and register all VLANs known to other ports.

forbidden

Keyword to specify that all the VLANs (except VLAN 1) are
statically deregistered from the port.

mod/port...

Module number and port number list.


Defaults

The default is administrative control is normal.

Command Types

Switch command.

Command Modes

Privileged.

Usage Guidelines

When you set VLAN registration, you are indicating to the switch that the VLAN is interested in the users connecting to this port and the VLAN's broadcast and multicast traffic is allowed to send to the port.

For static VLAN configuration, you should set the module and port control to fixed or forbidden if the module and port will not receive or process any GVRP message.

For each dynamically configured VLAN on a port, you should set the module and port control to normal (default), except for VLAN 1; VLAN 1 should be set to fixed.

When GVRP is running, you can create a VLAN through a GVRP trunk port only if you enter the set gvrp dynamic-vlan-creation enable and the set gvrp registration normal commands.

Examples

This example shows how to set the administrative control to normal on module 3, port 7:

Console> (enable) set gvrp registration normal 3/7
Registrar Administrative Control set to normal on port3/7.
Console> (enable) 

This example shows how to set the administrative control to fixed on module 5, port 10:

Console> (enable) set gvrp registration fixed 5/10 
Registrar Administrative Control set to fixed on Port 5/10.
Console> (enable) 

This example shows how to set the administrative control to forbidden on module 5, port 2:

Console> (enable) set gvrp registration forbidden 5/2 
Registrar Administrative Control set to forbidden on port 5/2.
Console> (enable) 

Related Commands

show gvrp configuration

set gvrp timer

Use the set gvrp timer command to adjust the values of the join, leave, and leaveall timers.

set gvrp timer {timer-type} {timer-value}

Syntax Description

timer-type

Type of timer; valid values are join, leave, and leaveall.

timer-value

Timer values in milliseconds; valid values are 1 to 2,147,483,647 milliseconds.


Defaults

The default is the join timer is 200 milliseconds; the leave timer is 600 milliseconds; and the leaveall timer is 10,000 milliseconds.

Command Types

Switch command.

Command Modes

Privileged.

Usage Guidelines

This command is equivalent to the set garp timer command.

You must maintain the following relationship for the various timer values:

leave time > 2 * join time

leaveall time > leave time


Note The modified values of timers are applied to all the GARP applications, ports, and VLANs.


Examples

This example shows how to set the join timer value to 100 ms for all the ports on all the VLANs:

Console> (enable) set gvrp timer join 100
GVRP/GARP Join timer value is set to 100 milliseconds.
Console> (enable)

This example shows how to set the leave timer value to 300 ms for all the ports on all the VLANs:

Console> (enable) set gvrp timer leave 300
GVRP/GARP Leave timer value is set to 300 milliseconds.
Console> (enable)

This example shows how to set the leaveall timer value to 20,000 ms for all the ports on all the VLANs:

Console> (enable) set gvrp timer leaveall 20000
GVRP/GARP LeaveAll timer value is set to 20000 milliseconds.
Console> (enable)

Related Commands

set garp timer
show gvrp configuration

set igmp

Use the set igmp command to enable or disable IGMP snooping on the switch.

set igmp {enable | disable}

Syntax Description

enable

Keyword to enable IGMP snooping on the switch.

disable

Keyword to disable IGMP snooping on the switch.


Defaults

IGMP snooping is disabled.

Command Types

Switch command.

Command Modes

Privileged.

Usage Guidelines

IGMP snooping requires supervisor engine software release 4.1 or later, a Supervisor Engine III or Supervisor Engine II G or III G, and a network connection from the switch to a router running IGMP.

Before enabling IGMP snooping, you must disable CGMP and CGMP leave processing (by using the set cgmp and set cgmp leave commands).

Examples

This example shows how to enable IGMP snooping on the switch:

Console> (enable) set igmp enable
IGMP Snooping is enabled.
CGMP is disabled.
Console> (enable)

This example shows what happens if you try to enable IGMP if CGMP is already enabled:

Console> (enable) set igmp enable
Disable CGMP to enable IGMP Snooping feature.
Console> (enable) 

Related Commands

clear igmp statistics
show igmp statistics

set igmp fastleave

Use the set igmp fastleave command to enable or disable IGMP fastleave processing.

set igmp fastleave {enable | disable}

Syntax Description

enable

Keyword to enable IGMP fastleave processing.

disable

Keyword to disable IGMP fastleave processing.


Defaults

By default, IGMP fastleave processing is disabled.

Command Types

Switch command.

Command Modes

Privileged.

Examples

This example shows how to enable IGMP fastleave processing:

Console> (enable) set igmp fastleave enable
IGMP support for fastleave processing enabled.
Console> (enable)

This example shows how to disable IGMP fastleave processing:

Console> (enable) set igmp fastleave disable
IGMP support for fastleave processing disabled.
Console> (enable)

Related Commands

clear igmp statistics
set igmp
show igmp statistics

set igmp mode

Use the set igmp mode command to set the IGMP snooping mode.

set igmp mode {igmp-only | igmp-cgmp | auto}

Syntax Description

igmp-only

Keyword to specify IGMP snooping only.

igmp-cgmp

Keyword to specify IGMP and CGMP modes.

auto

Keyword to override the dynamic switching of IGMP snooping modes.


Defaults

The default is IGMP mode is auto.

Command Types

Switch.

Command Modes

Privileged.

Usage Guidelines

The switch dynamically chooses either IGMP-only or IGMP-CGMP mode, depending on the traffic present on the network. IGMP-only mode is used in networks with no CGMP devices. IGMP-CGMP mode is used in networks with both IGMP and CGMP devices. Auto mode overrides the dynamic switching of the modes.

Examples

This example shows how to set the IGMP mode to IGMP-only:

Console> (enable) set igmp mode igmp-only
IGMP mode set to igmp-only
Console> (enable)

This example shows how to set the IGMP mode to auto:

Console> (enable) set igmp mode auto
IGMP mode set to auto
Console> (enable)

Related Commands

show igmp mode

set interface

Use the set interface command to set the network interface configuration and to enable or disable standard SNMP trap operation.

set interface {sc0 | me1 | sl0} {up | down}

set interface sc0 [vlan] [ip_addr [netmask [broadcast]]]

set interface sc0 [vlan] [ip_addr[/netmask] [broadcast]]

set interface me1 ip_addr [netmask [broadcast]]

set interface me1 ip_addr [/netmask [broadcast]]

set interface sl0 slip_addr dest_addr

set interface sc0 dhcp {renew | release}

Syntax Description

sc0

Keyword to specify the in-band management interface.

me1

Keyword to specify the out-of-band management Ethernet interface.

sl0

Keyword to specify the SLIP interface.

up

Keyword to bring the interface into operation.

down

Keyword to bring the interface out of operation.

vlan

(Optional) Number of the VLAN to be assigned to the interface.

ip_addr

(Optional) IP address to assign to the interface.

netmask

(Optional) Subnet mask or mask bits to assign to the interface.

broadcast

(Optional) Broadcast address to assign to the interface.

slip_addr

SLIP source address of the console port.

dest_addr

SLIP destination address of the host to which the console port will be connected.

dhcp

Keyword to perform DHCP operations on the sc0 interface.

renew

Keyword to renew the lease on a DHCP-learned IP address.

release

Keyword to release a DHCP-learned IP address back to the DHCP IP address pool.


Defaults

The default configuration has the IP address, subnet mask, and broadcast address of the in-band management interface (sc0) and out-of-band management Ethernet interface (me1) set to 0.0.0.0, with the sc0 interface in VLAN 1. The default configuration for the SLIP interface (sl0) is that the SLIP source and destination addresses are set to 0.0.0.0.

Command Types

Switch command.

Command Modes

Privileged.

Usage Guidelines

The Catalyst 5000 family switches support two IP management interfaces, the in-band management interface (sc0) and the SLIP interface (sl0). The sc0 interface is attached to the switching fabric of the switch. The slip interface is an out-of-band management port because it is not attached to the switching fabric and no traffic is switched over it.

You can enter the netmask value in dotted decimal format or you can specify the number of bits in the netmask (for example, 204.20.22.7/24).

Examples

This example shows how to use set interface sc0 and set interface sl0 from the console port. It also shows how to bring down interface sc0 using a terminal connected to the console port:

Console> (enable) set interface sc0 192.200.11.44 255.255.255.0
Interface sc0 IP address and netmask set.
Console> (enable) set interface sl0 192.200.10.45 192.200.10.103
Interface sl0 SLIP and destination address set.
Console> (enable) set interface sc0 down
Interface sc0 administratively down.
Console> (enable)

This example shows how to set the IP address for sc0. If you do not specify a subnet mask, the default mask for that IP address class is used (for example, 255.255.0.0 for a class B address):

Console> (enable) set interface sc0 172.20.52.123
Interface sc0 IP address and netmask set.
Console> (enable)

This example shows how to set the VLAN, IP address, and subnet mask bits for the sc0 interface:

Console> (enable) set interface sc0 5 172.20.52.123/28
Interface sc0 vlan set, IP address and netmask set.