CSS Command Reference (Software Version 5.00)
Interface and VLAN Configuration Mode Commands

Table Of Contents

Interface Configuration Mode Commands

(config-if) admin-shutdown

(config-if) bridge

bridge pathcost

bridge priority

bridge state

bridge vlan

(config-if) description

(config-if) fcb-lowwater

(config-if) max-idle

(config-if) no

(config-if) phy

(config-if) redundancy-phy

(config-if) trunk

(config-if) vlan

VLAN Configuration Mode Commands

(config-if-vlan) bridge

bridge pathcost

bridge priority

bridge state

(config-if-vlan) default-vlan

(config-if-vlan) no


Interface Configuration Mode Commands

Interface configuration mode allows you to configure an interface in the CSS. To access interface configuration mode, use the interface command from global, circuit, IP, and keepalive configuration modes. The prompt changes to (config-if [interface_name]). You can also use this command in interface mode to access another interface. For information about commands available in this mode, refer to the following commands.

interface interface_name

Syntax Description

interface_name

The CSS interface that you want to configure. For a Cisco CSS 11050 or 11150, enter the interface name in interface-port format (for example, e2). For a Cisco CSS 11800, the interface format is slot/port (for example, 3/1). To see a list of valid interfaces for this CSS, enter:

interface ?

(config-if) admin-shutdown

To shut down the current interface, use the admin-shutdown command. Use the no form of this command to restart the interface.

admin-shutdown
no admin-shutdown


Note To shut down all interfaces in the CSS, use the admin-shutdown command in SuperUser mode.


Usage Guidelines

If you configure the redundancy-phy command on an interface and then disable the interface using the admin-shutdown command, the master CSS fails over to the backup CSS. To prevent the CSS from failing over when you administratively disable the interface, remove the redundancy-phy command by entering no redundancy-phy before you enter the admin-shutdown command on that interface.

Related Commands

admin-shutdown
show interface

(config-if) bridge

To configure bridge parameters, use the bridge command. The options for this interface mode command are:

bridge pathcost..., sets the bridge interface path cost

bridge priority..., sets the bridge port priority

bridge state..., enables or disables the bridge interface

bridge vlan..., sets the bridge interface virtual LAN number

For more information on these options and associated variables, refer to the following commands.


Note Before you can configure trunking and multiple VLANs on a Gigabit Ethernet interface, the (config-if) bridge command options must be at their default states. Then you can turn on trunking through the (config-if) trunk command, and assign the VLAN and access VLAN mode through the (config-if) vlan command.


Related Commands

(config) interface

bridge pathcost

To set the bridge interface path cost, use the bridge pathcost command. Use the no form of this command to restore the default path cost which the CSS sets automatically based on the port speed.

bridge pathcost cost
no bridge pathcost

Syntax Description

cost

The contribution of the port to the path cost of paths towards the spanning tree root. Enter an integer from 1 to 65535. The CSS sets the default pathcost automatically based on the port speed.


Command Modes

Interface

bridge priority

To set the bridge priority for the port, use the bridge priority command. Use the no form of this command to restore the default priority of 128.

bridge priority priority
no bridge priority

Syntax Description

priority

The value of the bridge priority for the port. Enter an integer from 0 to 255. The default is 128.


Command Modes

Interface

bridge state

To enable or disable the bridge interface, use the bridge state command.

bridge state [disable|enable]

Syntax Description

disable

Disables the bridge interface. This is the default state.

enable

Enables the bridge interface.


Command Modes

Interface

bridge vlan

To set the bridge interface virtual LAN identifier, use the bridge vlan command. Use the no form of this command to restore the default virtual LAN identifier of 1.

bridge vlan number
no bridge vlan

Syntax Description

number

The virtual LAN identifier to associate with this port. Enter an integer from 1 to 4094. The default is 1.


Command Modes

Interface

Usage Guidelines

The CSS 11050 and CSS 11150 both support a maximum of 16 VLANs. The CSS 11800 supports a maximum of 128 VLANs.

(config-if) description

To specify the description for the interface, use the description command. Use the no form of this command to delete the interface description.

description "text_string"
no description

Syntax Description

text_string

The description for the interface. Enter a quoted text string with a maximum length of 255 characters.


Related Commands

show running-config interface

(config-if) fcb-lowwater

To configure the low-water mark of flow control blocks (FCBs) on the interface, use the fcb-lowwater command. The low-water mark is the percentage of the total number of FCBs available. If the number of FCBs available on a port goes below the low-water mark, then aggressive flow recovery occurs.

Use the no form of this command to reset the percentage of available FCBs to its default of 25.

fcb-lowwater percentage
no fcb-lowwater

Syntax Description

percentage

The percentage of the total number of available FCBs. Enter a number from 1 to 100. The default is 25%.


(config-if) max-idle

To set the maximum idle time for the interface, use the max-idle command. Use the no form of this command to reset the idle time for this interface to its default value of 0.

max-idle seconds
no max-idle

Syntax Description

seconds

The idle time in seconds. Enter a number from 15 to 65535. The default is 0, which disables the idle timer.


Usage Guidelines

Use the max-idle as a troubleshooting tool to verify an interface's ability to receive traffic. If the interface does not receive traffic within the maximum time configured, the CSS reinitializes it automatically.

Set the idle time to a value greater than the interval over which the interface is not receiving traffic. For example, if the interface receives traffic every 90 seconds, set the idle time to a value greater than 90 seconds. If you set the idle time to less than 90 seconds in this situation, the CSS would continuously reinitialize the interface before the interface was able to receive traffic.

(config-if) no

To negate a command or set it to its default, use the no command. For information on general no commands you can use in this mode, refer to the general no command. The following options are available in interface mode:

Syntax Description

no acl index

Deletes an ACL

no admin-shutdown layer

Restarts the layer

no bridge pathcost

Restores the default path cost which the CSS sets automatically based on the port speed

no bridge priority

Restores the default priority of 128

no bridge vlan

Restores the default virtual LAN number of 1

no description

Clears the description for the interface

no fcb-lowwater

Resets the percentage of available FCBs to its default of 25

no keepalive name

Deletes an existing keepalive

no max-idle

Resets the maximum idle time for this interface to the default of 0 (disabled)

no owner existing_owner_name

Deletes an existing owner

no redundancy-phy interface_name

Deletes an interface from the physical link configuration list

no rmon-event index

Deletes an RMON event

no rmon-history index

Deletes an RMON history

no trunk

Disable trunking on the Gigabit Ethernet interface and removes all associated VLANs

no vlan number

Deletes the VLAN from a trunked Gigabit Ethernet interface


(config-if) phy

To configure the speed or flow control (pause) method and duplex for a CSS Fast Ethernet or Gigabit Ethernet interface (port), respectively, use the phy command.

phy [auto-negotiate|10Mbits-[FD|HD]|100Mbits-[FD|HD]
|
1Gbits-FD-[asym|no pause|sym|sym-asym]]

Syntax Description

auto-negotiate

Resets the FEM or GEM port to automatically negotiate speed or pause method, respectively, and duplex (default)

10Mbits-FD

Sets the FEM port to 10 Mbps and full-duplex

10Mbits-HD

Sets the FEM port to 10 Mbps and half-duplex

100Mbits-FD

Sets the FEM port to 100 Mbps and full-duplex

100Mbits-HD

Sets the FEM port to 100 Mbps and half-duplex

1Gbits-FD-asym

Sets the GEM port to full duplex mode with asymmetric pause toward the link partner

1Gbits-FD-no pause

Sets the GEM port to full duplex mode with no pause

1Gbits-FD-sym

Sets the GEM port to full duplex mode with symmetric pause

1Gbits-FD-sym-asym

Sets the GEM port to full duplex mode with asymmetric and symmetric pause toward the local device


Usage Guidelines

By default, the port is configured to auto-negotiate; enabling it to automatically detect the speed or pause method, and duplex of incoming signals from its link partner and synchronize with them. For Fast Ethernet modules (FEM), when older equipment cannot transmit the duplex and speed with its signals, you can configure the speed and duplex on the port to match the transmitting equipment.

For Gigabit Ethernet modules (GEM), if the link does not come up in auto-negotiation mode, you need to force the module and its link partner into a specific mode. The phy command sets the duplex and the flow control method (pause) for a Gigabit Ethernet interface (port). The pause method determines how link partners send pause frames. The link partners send pause frames when they become overwhelmed with data. The CSS module and its link partner must be configured with the same duplex and flow control method.

(config-if) redundancy-phy

To add the interface to the physical link configuration list, use the redundancy-phy command. If any physical link in the configuration list goes down, the CSS fails over to the backup CSS. Use the no form of this command to delete the interface from the physical link configuration list.


Note This configuration information is saved to the running configuration.


redundancy-phy
no redundancy-phy

Usage Guidelines

You cannot use the redundancy-phy command if you used the (config) ip redundancy master command to configure the master CSS. Before you can use the redundancy-phy command, you must issue the (config) no ip redundancy master command.

You can configure a maximum number of five interfaces in the physical link configuration list.


Note If you configure the redundancy-phy command on an interface and then disable the interface using the admin-shutdown command, the master CSS fails over to the backup CSS. To prevent the CSS from failing over when you administratively disable the interface, remove the redundancy-phy command by entering no redundancy-phy before you enter the admin-shutdown command on that interface.


Related Commands

show redundancy
(config)

(config-if) trunk

To enable VLAN trunking for a Gigabit Ethernet interface, use the trunk command. After you enable trunking, you can add a VLAN to the interface and enter VLAN mode to configure it. Use the no form of this command to disable trunking on the interface and remove its associated VLANs.

trunk
no trunk

Usage Guidelines

If you configured non-default values for the bridge VLAN, pathcost, state, and pathcost on the interface, the CSS prompts that you cannot use the trunk command. Use the no form of the (config-if) bridge command to set the bridge default attributes before executing the trunk command.

Related Commands

show trunk
(config-if) vlan

(config-if) vlan

To add a VLAN on a trunked Gigabit Ethernet interface and access VLAN mode to configure it, use the vlan command. For more information on VLAN mode and its commands, refer to "VLAN Configuration Mode Commands". Use the no form of this command to delete the VLAN from the interface.

vlan number
no vlan number

Syntax Description

number

The virtual LAN identifier to associate with the interface. Enter an integer from 1 to 4094. The default is 1.


Usage Guidelines

Before you can use the vlan command, you must enable trunking through the (config-if) trunk command. You can add multiple VLANs to a trunked interface.


Note The CSS 11050 and CSS 11150 both support a maximum of 16 VLANs. The CSS 11800 supports a maximum of 128 VLANs.


Command Modes

Interface

VLAN Configuration Mode Commands

VLAN configuration mode allows you to configure VLANs on a trunked Gigabit Ethernet interface in the CSS. The CSS 11050 and CSS 11150 both support a maximum of 16 VLANs. The CSS 11800 supports a maximum of 128 VLANs.

To access VLAN configuration mode, use the vlan command from the interface configuration mode. The prompt changes to (config-if-vlan [number]). You can also use this command in VLAN mode to access a circuit, service, interface, or another VLAN. For information about commands available in this mode, refer to the following commands.

(config-if [interface_name]) # vlan number

Syntax Description

number

The virtual LAN identifier to associate with this port. Enter an integer from 1 to 4094.


(config-if-vlan) bridge

To configure spanning-tree parameters for the VLAN on the interface, use the bridge command. The options for this VLAN mode command are:

bridge pathcost..., sets the spanning-tree port path cost

bridge priority..., sets the spanning-tree port priority

bridge state..., enables or disables the spanning-tree port

For more information on these options and associated variables, refer to the following commands.

Related Commands

(config) interface

bridge pathcost

To set the spanning-tree port path cost for the VLAN on the trunked interface, use the bridge pathcost command. Use the no form of this command to restore the default path cost which the CSS sets automatically based on the port speed.

bridge pathcost cost
no bridge pathcost

Syntax Description

cost

The contribution of the port to the path cost of paths towards the spanning-tree root. Enter an integer from 1 to 65535. The CSS sets the default pathcost automatically based on the port speed.


Command Modes

Interface-vlan

bridge priority

To set the spanning-tree port priority for the VLAN on the trunked interface, use the bridge priority command. Use the no form of this command to restore the default priority of 128.

bridge priority priority
no bridge priority

Syntax Description

priority

The value of the spanning-tree port priority. Enter an integer from 0 to 255. The default is 128.


Command Modes

Interface-vlan

bridge state

To enable or disable the spanning-tree port on the VLAN on the trunked interface, use the bridge state command.

bridge state [disable|enable]

Syntax Description

disable

Disables the spanning-tree port on the VLAN.

enable

Enables the spanning-tree port on the VLAN. This is the default state.


Command Modes

Interface-vlan

(config-if-vlan) default-vlan

To define the VLAN as the default VLAN, use the default-vlan command. The default VLAN receives and processes all inbound untagged frames on the interface. The VLAN also transmits all outbound frames as untagged. Use the no form of this command to unassign the VLAN as the default VLAN.

default-vlan
no default-vlan

Usage Guidelines

You can define only one VLAN on each interface as the default VLAN. Before you can assign another VLAN as the default VLAN, use the no default-vlan command to unassign the current default VLAN.

If no VLAN on the interface is the default VLAN, the interface discards all untagged frames.

Command Modes

Interface-vlan

(config-if-vlan) no

To negate a command or set it to its default, use the no command. For information on general no commands you can use in this mode, refer to the general no command. The following options are available in VLAN mode:

Syntax Description

no bridge pathcost

Restores the default path cost which the CSS sets automatically based on the port speed

no bridge priority

Restores the default priority of 128

no default-vlan

Unassigns the VLAN as the default VLAN