cc/td/doc/product/lan/cat6000/ios127xe
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

tcam dynamic-entries
vlan database
vlan (VLAN configuration mode)
vlan mapping
vtp (global configuration mode)
vtp client
vtp domain
vtp password
vtp pruning
vtp server
vtp transparent

2

tcam dynamic-entries

Use the tcam dynamic-entries command to specify the maximum allowable number of TCAM entries.

tcam dynamic-entries max number

Syntax Description

max number

Keyword and variable to specify the maximum allowable number of TCAM entries; valid values are from 1 to 4096 entries.

Defaults

This command has no default setting.

Command Modes

Interface configuration mode.

Examples

This example shows how to set the maximum number of TCAM entries:

Router(config)# tcam dynamic-entries max 4096
tcam_interface_setup stub
[state = 1]
 
Router(config)#                                 

vlan database

Use the vlan database command to enter VLAN configuration mode.

vlan database

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default setting.

Command Modes

Privileged EXEC mode.

Usage Guidelines

Once you are in VLAN configuration mode, you can access the VLAN database editing buffer manipulation commands, including:

Examples

This example shows how to enter VLAN configuration mode:

Router# vlan database
Router(vlan)#
 

This example shows, once in VLAN configuration mode, how to exit VLAN configuration mode without applying changes:

Router(vlan)# abort
Aborting....
Router#   
 

This example shows, once in VLAN configuration mode, how to delete a VLAN:

Router(vlan)# no vlan 100
Deleting VLAN 100...
Router(vlan)#
 

This example shows, once in VLAN configuration mode, how to turn off pruning:

Router(vlan)# no vtp pruning
Pruning switched OFF
Router(vlan)#           

vlan (VLAN configuration mode)

Use the vlan command in VLAN configuration mode to configure a specific VLAN. Use the no form of this command without additional parameters to delete a VLAN.

vlan vlan [are hops] [backupcrf mode] [bridge type | bridge-num] [media type] [mtu mtu-size] [name vlan-name] [parent parent-vlan-id] [ring ring-number] [said said-value] [state {suspend | active}] [stp type type] [tb-vlan1 tb-vlan1-id] [tb-vlan2 tb-vlan2-id]

no vlan vlan

Syntax Description

vlan

Number of the VLAN; valid values are from 0 to 1005.

are hops

(Optional) Keyword and variable to specify the maximum number of All Route Explorer hops for this VLAN; valid values are from 0 to 13. Zero is assumed if no value is specified.

backupcrf mode

(Optional) Keyword and variable to enable or disable the backup CRF mode of the VLAN; valid values are enable or disable.

bridge type | bridge_num

(Optional) Keyword and variable to specify the bridging characteristics of the VLAN or identification number of the bridge; valid type values are srb or srt. Valid bridge_num values are from 0 to 15.

media type

(Optional) Keyword and variable to specify the media type of the VLAN; valid values are ethernet, fd-net, fddi, trcrf, and trbrf.

mtu mtu-size

(Optional) Keyword and variable to specify the maximum transmission unit (packet size, in bytes) that the VLAN can use; valid values are from 576 to 18190.

name vlan-name

(Optional) Keyword and variable to define a text string used as the name of the VLAN (1 to 32 characters).

parent parent-vlan-id

(Optional) Keyword and variable to specify the ID number of the parent VLAN of FDDI or Token Ring-type VLANs; valid values are from 0 to 1005.

ring ring-number

(Optional) Keyword and variable to specify the ring number of FDDI or Token Ring-type VLANs; valid values are from 1 to 4095.

said said-value

(Optional) Keyword and variable to specify the security association identifier; valid values are from 1 to 4294967294.

state {suspend | active}

(Optional) Keywords to specify whether the state of the VLAN is active or suspended. VLANs in suspended state do not pass packets.

ste max-hops

(Optional) Keywords to specify the maximum number of Spanning Tree Explorer hops for this VLAN; valid values are from 1 to 13 hops.

stp type stp_type

(Optional) Keywords and variable to specify the STP type; valid values are ieee, ibm, and auto.

tb-vlan1 tb-vlan1-id

(Optional) Keyword and variable to specify the ID number of the first translational VLAN for this VLAN; valid values are from 0 to 1005. Zero is assumed if no value is specified.

tb-vlan2 tb-vlan2-id

(Optional) Keyword and variable to specify the ID number of the second translational VLAN for this VLAN; valid values are from 0 to 1005. Zero is assumed if no value is specified.

Defaults

The defaults are:

ring-number is no ring number specified

bridge-number is no bridge number specified

parent-vlan-id is no parent VLAN specified

stp-type is no STP type specified

tb-vlan1 and tb-vlan2 is 0, which means no translational bridge VLAN is specified

Usage Guidelines

When you define vlan-name, the name must be unique within the administrative domain.

The SAID is documented in 802.10. When the no form is used, the VLAN's SAID is returned to the default.

When you define the said-value, the name must be unique within the administrative domain.

The bridge bridge-number argument is used only for Token Ring-net and FDDI-net VLANs, ignored in other types of VLANs. When the no form is used, the VLAN's source-routing bridge number returns to the default.

The parent VLAN resets to the default if the parent VLAN is deleted or the media keyword changes the VLAN type or the VLAN type of the parent VLAN.

The tb-vlan1 and tb-vlan2 are used to configure translational bridge VLANs of a specified type of VLAN and are not allowed in other types of VLANs. Translational bridge VLANs must be of a differing VLAN type as the affected VLAN; if two VLANs are specified, the two must be of differing VLAN types.

A translational bridge VLAN will reset to the default if the translational bridge VLAN is deleted or the media keyword changes the VLAN type or the VLAN type of the corresponding translational bridge VLAN.

Command Modes

VLAN configuration mode.

Examples

This example shows how to add a new VLAN with all default parameters to the new VLAN database:

Router(vlan)# vlan 2

Note If the VLAN already exists, no action occurs.

This example shows how to cause the device to add a new VLAN, specify the media type and parent VLAN ID number 3, and set all other parameters to the defaults:

Router(vlan)# vlan 2 media ethernet parent 3
VLAN 2 modified:
    Media type ETHERNET
    Parent VLAN 3
 

This example shows how to delete VLAN 2:

Router(vlan)# no vlan 2
Router(vlan)# 
 

This example shows how to return the MTU to the default for its type and translational bridging VLANs to the default:

Router(vlan)# no vlan 2 mtu tb-vlan1 tb-vlan2
Router(vlan)# 

vlan mapping

Use the vlan mapping command to map an 802.1Q VLAN to an ISL VLAN. Use the no form of this command to remove the mapping.

vlan mapping dot1q dot1q-vlan-id isl isl-vlan-id

no vlan mapping dot1q dot1q-vlan-id

Syntax Description

dot1q dot1q-vlan-id

Keyword and variable to specify the VLAN ID number of the 802.1q VLAN from which the mapping occurs as traffic leaves and enters 802.1q trunks on the local device; valid values are from 1 to 4095.

isl isl-vlan-id

Keyword and variable to specify the VLAN ID of ISL VLAN onto which the mapping occurs as traffic leaves and enters 802.1q trunks on the local device. Also, the VLAN ID number of the 802.1q VLAN for which to discard traffic as it arrives at a local device; valid values are from 1 to 1005.

Defaults

The default for 802.1q VLAN IDs 1 to 1005 is an identity mapping. For 802.1q VLAN IDs 1006 to 4095, the default is to discard all such traffic arriving at the local device.

Command Modes

Global configuration mode.

Usage Guidelines

You can map up to eight VLANs. Only one 802.1Q VLAN can be mapped to an ISL VLAN. For example, if 802.1Q VLAN 800 has been automatically mapped to ISL VLAN 800, do not manually map any other 802.1Q VLANs to ISL VLAN 800.

You cannot overwrite existing 802.1Q VLAN mapping. If the 802.1Q VLAN number already exists, the command is aborted. You must first clear that mapping.

If the table is full, the command is aborted with an error message indicating the table is full.

Examples

This example shows how to map traffic arriving on 802.1q trunks on VLAN 1022 to ISL VLAN 888 on the local device, discard traffic arriving on 802.1q trunks on VLAN 888, and map traffic on ISL VLAN 888 on the local device to 802.1q VLAN 1022 as it leaves the device:

Route(config)# vlan mapping dot1q 1022 isl 888
Route(config)#
 

This example shows how to clear the mapping of 802.1q VLAN 1022 to ISL VLAN 888, resulting in 802.1q VLAN 1022 traffic being discarded when arriving on the local device and 802.1Q VLAN 888 traffic being mapped to ISL VLAN 888, both of which are their default states:

Router(config)# no vlan mapping dot1q 1022
No mapping for 1022 
Router(config)# 

Related Commands

show vlan
vlan database
vlan (VLAN configuration mode)

vtp (global configuration mode)

Use the vtp command to modify the name of the VTP configuration storage file. Use the no form of this command to clear the file name.

vtp file filename | if-id name

no vtp file filename | if-id name

Syntax Description

file filename

Keyword and variable to specify the IFS file system file where VTP configuration will be stored.

if-id name

Keyword and variable to specify the name of the interface providing the VTP updater ID for this device.

Defaults

This command has no default settings.

Command Modes

Global configuration mode.

Usage Guidelines

You cannot use the vtp file command to load a new database. You can use it only to rename the file in which the existing database is stored.

Examples

This example shows how to specify the IFS file system file where VTP configuration is stored:

Router(config)# vtp file vtpconfig
Setting device to store VLAN database at filename vtpconfig.   
Router(config)# 
 

This example shows how to clear the device storage filename:

Router(config)# no vtp file vtpconfig
Clearing device storage filename.
Router(config)# 
 

This example shows how to specify the name of the interface providing the VTP updater ID for this device:

Router(config)# vtp if-id fastethernet
Router(config)# 

Related Commands

show vtp
vtp client

vtp client

Use the vtp client command to place the device in VTP client mode. Use the no form of this command to return to VTP server mode.

vtp client

no vtp client

Syntax Description

This command has no arguments or keywords.

Defaults

The default is server mode.

Command Modes

VLAN configuration mode.

Usage Guidelines

If the receiving switch is in client mode, the client switch changes its configuration to duplicate the configuration of the server. If you have switches in client mode, make sure to make all VTP or VLAN configuration changes on a switch in server mode.

The vtp server command is the functional equivalent of no vtp client except that it does not return an error if the device is not in client mode.

Examples

This example shows how to place the device in VTP client mode:

Router(vlan)# vtp client
Router(vlan)#

Related Commands

show vtp
vtp (global configuration mode)

vtp domain

Use the vtp domain command in VLAN configuration mode to configure the administrative domain name for the device.

vtp domain domain-name

Syntax Description

domain-name

Domain name.

Defaults

This command has no default setting.

Command Modes

VLAN configuration mode.

Usage Guidelines

When you define the domain-name, the domain name is case sensitive.

Until a domain name is set, the device is in the no-management-domain state. In this state, the device does not transmit any VTP advertisements regardless of changes to local VLAN configuration. The device leaves the no-management-domain state upon receiving the first VTP summary packet on any port that is currently trunking or upon configuration of a domain name using the vtp domain command. If the device receives its domain from a summary packet, it resets its configuration revision number to zero. Once the device leaves the no-management-domain state, it can never be configured to reenter it except by cleaning NVRAM and reloading.

Examples

This example shows how to set the device's administrative domain:

Router(config)# vtp domain DomainChandon
Router(config)# 

Related Commands

show vtp
vtp (global configuration mode)

vtp password

Use the vtp password command in VLAN configuration mode to create a VTP domain password. Use the no form of this command to delete the password.

vtp password password-value

no vtp password

Syntax Description

password password-value

Keyword and variable to specify the password.

Defaults

The default is no password.

Command Modes

VLAN configuration mode.

Usage Guidelines

The password-value is an ASCII string from 1 to 32 characters identifying the administrative domain for the device.

Examples

This example shows how to create a VTP domain password:

Router(vlan)# vtp password DomainChandon
Router(vlan)# 
 

This example shows how to delete the VTP domain password:

Router(vlan)# no vtp password
Clearing device VLAN database password.
Router(vlan)#                                       

Related Commands

show vtp
vtp (global configuration mode)

vtp pruning

Use the vtp pruning command in VLAN configuration mode to enable pruning in the VLAN database. Use the no form of this command to disable pruning in the VLAN database.

vtp pruning

no vtp pruning

Syntax Description

This command has no arguments or keywords.

Defaults

The default is pruning is disabled.

Command Modes

VLAN configuration mode.

Usage Guidelines

VTP pruning causes information about each pruning-eligible VLAN to be removed from VTP updates if there are no stations belonging to that VLAN.

Examples

This example shows how to enable pruning in the VLAN database:

Router(vlan)# vtp pruning
Pruning switched ON
Router(vlan)#
 

This example shows how to disable pruning in the VLAN database:

Router(vlan)# no vtp pruning
Pruning switched OFF
Router(vlan)#

Related Commands

show vtp
vtp (global configuration mode)

vtp server

Use the vtp server command to place the device in VTP server mode.

vtp server

Syntax Description

This command has no arguments or keywords.

Defaults

The default is server mode.

Command Modes

VLAN configuration mode.

Usage Guidelines

If you make a change to the VTP or VLAN configuration on a switch in server mode, that change is propagated to all the switches in the same VTP domain.

VTP can be set to either server or client mode only when dynamic VLAN creation is disabled.

If the receiving switch is in server mode, the configuration is not changed.

The vtp server command is the functional equivalent of no vtp client except that it does not return an error if the device is not in client mode.

Examples

This example shows how to place the device in VTP server mode:

Router(vlan)# vtp server
Router(vlan)#

Related Commands

show vtp
vtp (global configuration mode)

vtp transparent

Use the vtp transparent command to place the device in VTP transparent mode. Use the no form of this command to return to VTP server mode.

vtp transparent

no vtp transparent

Syntax Description

This command has no arguments or keywords.

Defaults

The default is server mode.

Command Modes

VLAN configuration mode.

Usage Guidelines

The vtp transparent command disables VTP from the domain but does not remove the domain from the switch.

If the receiving switch is in transparent mode, the configuration is not changed. Switches in transparent mode do not participate in VTP. If you make VTP or VLAN configuration changes on a switch in transparent mode, the changes are not propagated to the other switches in the network.

The vtp server command is the functional equivalent of no vtp transparent except that it does not return an error if the device is not in transparent mode.

Examples

This example shows how to place the device in VTP transparent mode:

Router(vlan)# vtp transparent
Router(vlan)#
 

This example shows how to return the device to VTP server mode:

Router(vlan)# no vtp transparent
Router(vlan)#

Related Commands

show vtp
vtp (global configuration mode)


hometocprevnextglossaryfeedbacksearchhelp
Posted: Thu Jul 20 15:28:02 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.