- About this Guide
- Cisco ONS Documentation Roadmap for Releases 9.2.1 and 9.2.2
- Chapter 1, Cisco ONS 15454 (ANSI and ETSI), ONS 15454 M2, and ONS 15454 M6 Shelf Assembly
- Chapter 2, Common Control Cards
- Chapter 3, Optical Service Channel Cards
- Chapter 4, Optical Amplifier Cards
- Chapter 5, Multiplexer and Demultiplexer cards
- Chapter 6, Tunable Dispersion Compensating Units
- Chapter 7, Protection Switching Module
- Chapter 8, Optical Add/Drop Cards
- Chapter 9, Reconfigurable Optical Add/Drop Cards
- Chapter 10, Transponder and Muxponder Cards
- Chapter 11, Node Reference
- Chapter 12, Network Reference
- Chapter 13, Optical Circuit Reference
- Chapter 14, Cisco Transport Controller Operation
- Chapter 15, Security Reference
- Chapter 16, Timing Reference
- Chapter 17, Manage Network Connectivity
- Chapter 18, Alarm Management
- Chapter 19, Performance Monitoring
- Chapter 20, SNMP
- Appendix A, Hardware Specifications
- Appendix B, Administrative and Service States
- Appendix C, Pseudo Command Line Interface Reference
- Appendix D, Fiber and Connector Losses in Raman Link Configuration
- Appendix E, Network Element Defaults
- B.1 Understanding PCLI
- B.2 PCLI Command Modes
- enable shelf/slot
- configure terminal
- show modules
- show vlans
- show interfaces
- show policy-maps
- show policy-map name
- show policy-map type port
- show controllers type port
- show vlan profiles
- show vlan profiles name
- show ethernet service instance name
- show users
- reload
- show history
- show startup-config
- show ip igmp snooping groups vlan vlanid
- show lacp [detail]
- ethernet oam remote-loopback
- show ethernet oam discovery
- show ethernet oam statistics
- show ethernet oam status
- show ethernet oam summary
- clear ethernet cfm
- clear ethernet cfm statistics
- show ethernet cfm domain
- show ethernet cfm maintenance-points local
- show ethernet cfm maintenance-points
- show ethernet cfm mpdb
- show ethernet cfm statistics
- show interfaces rep
- show rep topology
- interface channel-group
- ethernet cfm ieee
- ethernet cfm domain
- ethernet cfm service
- rep admin svlan
- mac-address-table learning vlan vlanid
- [no] mac-address-table learning interface type port
- [no] vlan vlan-id
- interface gigabitethernet port
- interface tengigabitethernet port
- policy-map name
- [no] mvr
- mvr vlan
- mvr group ip address count
- ethernet cfm cc_interval interval
- service service_name
- continuity-check
- name vlan name
- protected
- ip igmp snooping
- ip igmp snooping immediate-leave
- ip igmp snooping report-suppression
- channel-group channel-number mode chanlgrp-mode
- channel-group channel-number hash chanlgrp-hash
- channel-group channel-number expected speed chanlgrp-speed
- description description
- ethernet oam
- ethernet oam mode
- ethernet oam link-monitor frame
- ethernet oam link-monitor frame-period
- ethernet oam link-monitor frame-seconds
- ethernet oam link-monitor high-threshold
- ethernet oam remote-failure link-fault
- ethernet cfm mip
- ethernet cfm mep
- ethernet cfm interface
- rep segment
- rep stcn
- rep preempt delay
- rep preempt
- rep preempt segment
- rep block port
- shutdown
- mtu bytes
- speed auto|1000, 10000
- flowcontrol on|off
- switchport mode trunk
- switchport mode dot1q-tunnel
- service-policy input name
- service-policy output name
- service instance ethernet name
- l2protocol-tunnel
- [no] switchport port-security mac-address mac-address
- ip igmp snooping mrouter
- encapsulation default
- encapsulation dot1q first cvlan last cvlan
- encapsulation untagged
- bridge-domain svlan
- police cir percent % bc bytes be bytes
- set cos number
- wrr-queue cos-map queue-id cos1 … cosn
- wrr-queue queue-id weight 1-16 bandwidth percent %
Pseudo Command Line Interface Reference
This chapter describes Pseudo-IOS command line interface (PCLI) for GE_XP, 10GE_XP, GE_XPE, and 10GE_XPE cards.

Note Unless otherwise specified, “ONS 15454” refers to both ANSI and ETSI shelf assemblies.
B.1 Understanding PCLI
PCLI provides an IOS-like command line interface for GE_XP, 10GE_XP, GE_XPE, and 10GE_XPE cards in Layer 2 (L2) mode. PCLI employs the Cisco IOS Modular QoS CLI (MQC).
PCLI is a text interface from where you can operate, provision and retrieve GE_XP, 10GE_XP, GE_XPE, and 10GE_XPE card information. PCLI runs on the Timing, Communications, and Control (TCC) of the node controller, to access card level information. PCLI acts as a Corba client and provides the same provisioning mechanisms as CTC or TL1. PCLI can be accessed via CTC by selecting Tools > Open Pseudo IOS Connection menu option or right-click on the node in the Network View and select Open Pseudo IOS Connection. To access the PCLI text interface use Telnet, or SSH to open a shell session to connect to a GE_XP, 10GE_XP, GE_XPE, or 10GE_XPE card and input IOS-like commands.
To access PCLI from Windows XP, enter the following command at the Windows command prompt:
To access PCLI from Solaris 8, enter the following command:
The PCLI shell supports the 454 multi-shelf architecture. Multi-shelf supports 16 shelves with each shelf containing 17 slots. The GE_XP, 10GE_XP, GE_XPE, or 10GE_XPE cards can be inserted in any Input/Output (IO) slot or shelf. PCLI also provides a command to virtually connect to a specified shelf/slot. However, connection to a non-Xponder slot or to an Xponder slot that is not in L2 mode is not supported. PCLI supports a maximum of 16 concurrent login sessions per node controller. A session can be cancelled by logging out of the PCLI session or when the idle timer times out.

Note PCLI adheres to the idle user timeout period security policy set via CTC or TL1.

Note For information on viewing security policies, refer the task, “DLP-G189 Change Security Policy for Multiple Nodes” in the Cisco ONS 15454 DWDM Procedure Guide.
If a PCLI session on a node using a given port number is open, the port number used by the PCLI session cannot be changed. When connecting in a Non-Secure state to a node and a port, use the configured port number for non-secured mode only, and when connecting via a Secure state to a node and a port, use the configured port number for Secure mode.
B.1.1 PCLI Security
PCLI supports configurable secure or unsecure access with a configurable port number per access mechanism. Use CTC to view or modify these settings. The default access state is “Non-secure” and the default port number is “65000”.
PCLI supports an unsecured connection via Telnet and a secure connection via Secure Shell (SSH) by using existing system authentication, authorization and accounting (AAA) mechanisms. Login with user/password that is configured at the Network Element (NE). Use CTC or TL1 to manage user accounts.

Note If you have logged in to a PCLI connection in an Non-Secure state and change the connection via CTC to a Secure one (or vice versa), the Non-Secure state in PCLI (or Secure, as the case may be) is closed once the CTC configuration is completed.
For information on setting the access states (Non-secure or Secure), refer Cisco ONS 15454 DWDM Procedure Guide.
B.2 PCLI Command Modes
The PCLI supports eight different command modes. Each command mode can be accessed by specifying a command. The prompt changes to reflect the new command mode that you are in. Consequently, the set of valid commands changes to reflect the sub-commands that are allowed within that mode.
The following section shows supported PCLI commands for each command mode.
B.2.1 Common Commands
B.2.2 User EXEC Mode
After a successful login, the system goes to User Executive (EXEC) command mode. Most PCLI commands in the User EXEC mode do not change system operation. The User EXEC mode allows you to work on multiple GE_XP, 10GE_XP, GE_XPE, and 10GE_XPE cards during a single session while restricting the view at any given time to a single card in a specific shelf and slot. This mode displays system wide parameters that span all cards in the node.
B.2.3 Privileged EXEC Mode
In general, the Privileged EXEC commands allow you to connect to remote devices, perform basic tests, and lists system information. Most CLI commands in Privileged EXEC mode do not change or modify provisioning and system operation. The most common EXEC commands are show commands and are used to display configuration or operational data, and do not have capability to modify provisioning.
To enter privileged EXEC mode, use the enable shelf/slot command.
The following commands are part of Privileged EXEC mode:
- configure terminal
- reload
- show startup-config
- show users
- show ip igmp snooping groups vlan vlanid
- show interfaces
- show ethernet service instance name
- show vlan profiles
- show vlans
- show modules
- show controllers type port
- show history
- show policy-maps
- show policy-map name
- show policy-map type port
- show lacp [detail]
- ethernet oam remote-loopback
- show ethernet oam discovery
- show ethernet oam statistics
- show ethernet oam status
- show ethernet oam summary
- clear ethernet cfm
- clear ethernet cfm statistics
- show ethernet cfm domain
- show ethernet cfm maintenance-points local
- show ethernet cfm maintenance-points
- show ethernet cfm mpdb
- show ethernet cfm statistics
- show interfaces rep
- show rep topology
B.2.4 Global Configuration Mode
Enter global configuration mode from privileged EXEC mode. Global configuration commands generally apply to the whole system rather than just one protocol or interface. You can enter other configuration sub modes listed in this section from global configuration mode.
To enter global configuration mode, use the configure terminal command.

Note The node name can be configured by using CTC. Select Node view > General > General > Node Name
The following commands are part of global configuration mode:
- interface channel-group
- ethernet cfm ieee
- ethernet cfm domain
- ethernet cfm service
- mac-address-table learning vlan vlanid
- [no] mac-address-table learning interface type port
- [no] vlan vlan-id
- interface gigabitethernet port
- interface tengigabitethernet port
- policy-map name
- [no] mvr
- mvr vlan
- mvr group ip address count
- rep admin svlan
B.2.5 VLAN Configuration Mode
Enter VLAN configuration mode from global configuration mode. You can configure parameters for an individual VLAN.
To enter VLAN configuration mode, use the vlan <vlanid> command.
B.2.6 Interface Configuration Mode
Enter interface configuration mode from global configuration mode. In this mode and other interface sub modes, a wide variety of capabilities are supported. You can configure provisioning on a specific module interface, i.e. port.
To enter interface configuration mode, use the interface gigabitethernet port or interface tengigabitethernet port command.
The following commands are part of interface configuration mode:
- channel-group channel-number mode chanlgrp-mode
- channel-group channel-number hash chanlgrp-hash
- channel-group channel-number expected speed chanlgrp-speed
- description description
- ethernet oam
- ethernet oam mode
- ethernet oam link-monitor frame
- ethernet oam link-monitor frame-period
- ethernet oam link-monitor frame-seconds
- ethernet oam link-monitor high-threshold
- ethernet oam remote-failure link-fault
- ethernet cfm mip
- ethernet cfm mep
- ethernet cfm interface
- rep segment
- rep stcn
- rep preempt delay
- rep preempt
- rep preempt segment
- rep block port
- shutdown
- mtu bytes
- speed auto|1000, 10000
- flowcontrol on|off
- switchport mode trunk
- switchport mode dot1q-tunnel
- service-policy input name
- service-policy output name
- service instance ethernet name
- l2protocol-tunnel
- [no] switchport port-security mac-address mac-address
- ip igmp snooping mrouter
B.2.7 Service Instance Configuration Mode
Service instance configuration mode is a sub mode of the interface configuration mode and can be used to define service instances, i.e. Ethernet Flow Points (EFPs). EFPs are specific to a particular interface. Multiple EFPs can be strung together to make an Ethernet Virtual Circuit (EVC).
The encapsulation commands can be used in any combination to implement flexible EFPs. However, the dot1q and untagged commands must be used for selective mode translations, and the default command must be used for transparent mode translations. The following restrictions apply to encapsulation commands:
- Selective and transparent mode apply to a whole port and are mutually exclusive.
- Encapsulation default is for transparent translations. Only one transparent service instance is allowed per port.
- Encapsulation untagged is for selective translation with no cvlan tag. If the operation is DOUBLE_ADD ( rewrite ingress tag push dot1q <multipurpose vlan> second-dot1q <svlan>), only one service instance is allowed per port.
To enter service instance configuration mode, use the service instance ethernet name command.
The following commands are part of service instance configuration mode:
- encapsulation default
- encapsulation dot1q first cvlan last cvlan
- encapsulation untagged
- service-policy input name
- bridge-domain svlan

Note The encapsulation and rewrite commands are work together. These commands take effect only if the following sequence is followed:
1. Enter the encapsulation command.

Note A service instance cannot be edited once user exits the service instance configuration mode. To make changes to any of these parameters, delete the service instance and recreate it.
B.2.8 Policy Map Configuration Mode
Enter policy map configuration mode from global configuration mode by using the policy-map command to create a policy map or modify an existing policy map. This mode is part of the quality-of-service (QoS) feature.
To attach a QoS policy to a specific interface, you must enter interface configuration mode from global configuration mode by identifying the interface and then using the service-policy command to attach an existing policy. QoS policy map provisioning can be accessed across multiple GE_XP, 10GE_XP, GE_XPE, and 10GE_XPE cards.
To enter policy map configuration mode, enter the policy-map name command from the global config mode.
The following commands are part of policy map configuration mode:
B.2.9 VLAN Profile Config Mode
VLAN profile configuration mode can be used to provision the parameters for a VLAN profile. A VLAN profile can later be applied to multiple VLANs. VLAN profile provisioning can be accessed across multiple GE cards.
To enter VLAN profile configuration mode, use the vlan profile name command from the global config mode.
The following commands are part of VLAN profile configuration mode:
enable shelf/slot
To enter privileged EXEC mode, use the enable command in user EXEC mode.
Syntax Description
Command Modes
Usage Guidelines
Use this command to enter privileged configuration mode. Entering privileged EXEC mode enables the use of privileged commands. Note the prompt for user EXEC mode is the greater than symbol (>), and the prompt for privileged EXEC mode is the hash symbol (#).
Examples
configure terminal
To enter global configuration mode, use the configure terminal command in privileged EXEC mode.
Syntax Description
Command Modes
Usage Guidelines
Use this command to enter global configuration mode.
After you enter the configure terminal command, the system prompt changes from <node-name>#
to <node-name>(config)#
, indicating that the card is now in global configuration mode. To leave global configuration mode and return to privileged EXEC mode, type exit
.
Examples
show modules
To display summary information (shelf/slot/port, equipment type, service state) of the GE_XP, 10GE_XP, GE_XPE, or 10GE_XPE card, use the show modules command in User EXEC and privileged EXEC mode.
Syntax Description
Command Default
Command Modes
Examples
The following is sample output of the show modules command:
show vlans
To display VLAN information, use the show vlans command in privileged EXEC mode.
Syntax Description
Command Default
Command Modes
Examples
The following is sample output of the show vlans command which shows the status of 1+1 protection, MAC address learning, IGMP snooping, immediate leave, and report suppression on the GE_XP, 10GE_XP, GE_XPE, or 10GE_XPE card for a given VLAN.
show interfaces
To display port level parameters and statistics of interfaces configured on the GE_XP, 10GE_XP, GE_XPE, or 10GE_XPE, use the show interfaces command in privileged EXEC mode.
Syntax Description
Defaults
Examples
The following is sample output of the show interfaces command. The output in the example depends on the type and number of interfaces in the card. For this reason only a part of the output is shown.
show policy-maps
To display all policy maps in the node, use the show policy-maps command.
Syntax Description
Defaults
Examples
The following example displays all the policy maps on the GE_XP, 10GE_XP, GE_XPE, or 10GE_XPE cards:
show policy-map name
To display the information of an unnamed class, use the show policy-map command in privileged EXEC mode.
Syntax Description
(Optional) The name of the service policy map whose complete configuration is to be displayed. The name can be a maximum of 31 characters. |
Defaults
Command Modes
Examples
The show policy-map command displays the configuration of a service policy map that was created using the policy-map name command.
The following example displays the contents of policy map “pmapegress” on the GE_XP, 10GE_XP, GE_XPE, or 10GE_XPE card:
show policy-map type port
To display all the policy maps configured on the port, use the show policy-map type port in privileged EXEC mode.
Syntax Description
Command Default
Command Modes
Usage Guidelines
The show policy-map type port command displays the configuration of classes on the specified interface.
Examples
This section provides sample output of a typical show policy-map type port command. The output in the example depends on the type, number of interfaces and options enabled on the card. For this reason only a part of the output is shown and may vary.
show controllers type port
To display information about Small Form-factor Pluggable (SFP) installed, use the show controllers type port command in privileged EXEC mode.
Syntax Description
Defaults
Command Modes
Examples
This section provides sample output of a typical show controllers type port command.
show vlan profiles
To display the parameters of all configured VLANs or one VLAN (if the VLAN ID or name is specified), use the show vlan profiles command in privileged EXEC mode.

Note A vlan profile is a named set of vlan attributes. A profile can be associated to a VLAN ID on an interface. A profile can be attached to multiple vlan/interface pairs.
Command Modes
Examples
The following example shows the output of the show vlan profiles command:
show vlan profiles name
To display the parameters of all configured VLANs or one VLAN (if the VLAN ID or name is specified), use the show vlan profiles name command in privileged EXEC mode.
Syntax Description
Displays information about a single VLAN identified by VLAN name. |

Note A vlan profile is a named set of vlan attributes. A profile can be associated to a VLAN ID on an interface. A profile can be attached to multiple vlan/interface pairs.
Command Modes
Examples
The following example shows the output of the show vlan profiles name command:
show ethernet service instance name
To display information about ethernet customer service instances, use the show ethernet service instance name command in privileged EXEC mode.
show ethernet service instance name
Syntax Description
Displays service instance information of the specified service instance. |
Command Modes
Usage Guidelines
This command is useful for system monitoring and troubleshooting.
Examples
The following is an example of output from the show ethernet service instance command:
show users
To display information about the active users on the node, use the show users command in user EXEC or privileged EXEC mode.
Syntax Description
Command Modes
Usage Guidelines
This command displays user name, security level, aaplications users are using and login time of all users on the node.
Examples
The following is a sample output of the show users command:
reload
To reset a card, use the reload command in privileged EXEC mode.
Syntax Description
Command Modes
Usage Guidelines
Examples
The following is a sample output of the reload command:
show history
To list the commands you have entered in the current session (in all modes), use the show history command.
Syntax Description
Command Modes
Usage Guidelines
The show history command provides a record of commands you have entered. The history buffer records 100 commands.
The show history command can be used with the help of certain keys as shown in Table B-1 .
|
|
---|---|
Ctrl-P or Up Arrow11 |
Recalls commands in the history buffer in a backward sequence, beginning with the most recent command. Repeat the key sequence to recall successively older commands. |
Ctrl-N or Down Arrow 1 |
Returns to more recent commands in the history buffer after recalling commands with Ctrl-P or the Up Arrow. Repeat the key sequence to recall successively more recent commands. |
1.The arrow keys function only with ANSI-compatible terminals. |
Examples
The following is a sample output from the show history command, which lists the commands the user has entered in privileged EXEC mode for this session:
show startup-config
To display the current configuration of the GE_XP, 10GE_XP, GE_XPE, or 10GE_XPE card, use the show startup-config command in privileged EXEC mode. The start-up config and the running-config are the same.
Syntax Description
Command Modes
Command Default
Examples
The following partial sample output displays the configuration file named startup-config:
show ip igmp snooping groups vlan vlanid
To display the multicast groups that were learned through Internet Group Management Protocol (IGMP) on a given SVLAN/MVLAN, use the show ip igmp groups vlan vlanid in privileged EXEC mode.
show ip igmp groups vlan vlanid
Syntax Description
Command Modes
Command Default
Examples
The following partial sample output displays the multicast groups for VLAN 10:
show lacp [detail]
To display detailed LACP information from the GE_XP, 10GE_XP, GE_XPE, or 10GE_XPE cards, use the show lacp command in privileged EXEC mode.
Syntax Description
Command Default
Command Modes
Usage Guidelines
If you omit the detail keyword, basic LACP information is shown.
Examples
The following is a sample output for the show lacp command:
ethernet oam remote-loopback
To turn on or off the remote loopback function on an EFM interface, use the ethernet oam remote-loopback command in privileged EXEC mode. This command does not have a no form.
ethernet oam remote-loopback {start|stop} {interface number }
Syntax Description
Number of the Ethernet interface. If the operation is start, the range of number is 1 to 20; if the operation is stop, the range of number is 21 to 22. |
Command Default
Command Modes
Usage Guidelines
When the remote loopback function is enabled on an EFM interface, traffic passed on this interface is discarded by the remote interface.
Examples
The following example shows how to start a remote loopback session on a specific interface:
show ethernet oam discovery
To display discovery information for all EFM interfaces or for a specific EFM interface, use the show ethernet oam discovery command in privileged EXEC mode.
show ethernet oam discovery [interface number ]
Syntax Description
Number of the Ethernet interface. The number ranges from 1 to 22. |
Command Default
Command Modes
Usage Guidelines
This command displays the following information pertaining to Ethernet OAM discovery:
- Remote device which is directly connected to this device
- Local and remote OAM configuration and capability
- Local and remote OAM mode
- Remote platform identity
- State of the local discovery state machine
If an interface is specified, only data pertaining to the OAM peer on that interface is displayed; otherwise, data for all OAM peers on all interfaces is displayed.
Examples
The following example shows how to display discovery information for a specific EFM interface.
show ethernet oam statistics
To display detailed information about the EFM packets, use the show ethernet oam statistics command in privileged EXEC mode.
show ethernet oam statistics [interface number ]
Syntax Description
Number of the Ethernet interface. The number ranges from 1 to 22. |
Command Default
Command Modes
Usage Guidelines
Examples
The following example shows how to display information for a specific interface:
show ethernet oam status
To display EFM configurations for all interfaces or for a specific interface, use the show ethernet oam status command in privileged EXEC mode.
show ethernet oam status [interface number ]
Syntax Description
Number of the Ethernet interface. The number ranges from 1 to 22. |
Command Default
Command Modes
Usage Guidelines
Use this command to display the runtime settings of link monitoring and general OAM operations for all the interfaces or for a specific interface.
OAM must be operational on the interfaces before you use this command.
Examples
The following example shows how to display EFM configurations for a specific interface:
show ethernet oam summary
To display the active EFM sessions on a device, use the show ethernet oam summary command in privileged EXEC mode.
Syntax Description
Command Default
Command Modes
Examples
The following example shows how to display the active EFM sessions on a device:
clear ethernet cfm
To clear the Maintenance Intermediate Point (MIP) and Maintenance End Point (MEP) database in CFM, use the clear ethernet cfm maintenance-points remote command in privileged EXEC mode.
clear ethernet cfm maintenance-points remote
Syntax Description
Command Default
Command Modes
Examples
The following example shows how to clear MIP and MEP database:
clear ethernet cfm statistics
To clear the CFM statistics, use the clear ethernet cfm statistics command in privileged EXEC mode.
Syntax Description
Command Default
Command Modes
Examples
The following example shows how to clear the CFM statistics:
show ethernet cfm domain
To display brief information or detailed information about CFM maintenance domains and services configured under the domains, use the show ethernet cfm domain in privileged EXEC mode.
show ethernet cfm domain [brief | domain_name ]
Syntax Description
Command Default
Command Modes
Examples
The following example shows how to display detailed information about a specific CFM maintenance domain:
show ethernet cfm maintenance-points local
To display the maintenance points configured on a device, use the show ethernet cfm maintenance-points local command in privileged EXEC mode.
show ethernet cfm maintenance-points local [mip [level level] [service vlan] | mep [domain domain_name] [service vlan]]
Syntax Description
Command Default
Command Modes
Examples
The following example shows how to display all the maintenance points configured on a device:
show ethernet cfm maintenance-points
To display information about remote maintenance point domains, use the show ethernet cfm maintenance-points remote in privileged EXEC mode.
show ethernet cfm maintenance-points remote [domain domain_name] [service vlan]]
Syntax Description
Command Default
Command Modes
Examples
The following example shows how to display information about remote maintenance point domains:
show ethernet cfm mpdb
To display the output of the Ethernet CFM MIP database, use the show ethernet cfm mpdb command in privileged EXEC mode.
show ethernet cfm mpdb [level level] [service vlan]
Syntax Description
Command Default
Command Modes
Examples
The following example shows how to displays the output of the CFM MIP database:
show ethernet cfm statistics
To display the CFM statistics, use the show ethernet cfm statistics command in privileged EXEC mode.
show ethernet cfm statistics [domain domain_name] [service vlan]
Syntax Description
Command Default
Command Modes
Examples
The following example shows how to display the CFM statistics:
show interfaces rep
To display REP configuration and status for a specific interface or for all interfaces, use the show interfaces rep command in privileged EXEC mode.
show interfaces [ interface_name ] rep [detail]
Syntax Description
REP configuration and status for a specific physical interface or port channel ID. |
|
Command Default
Command Modes
Examples
The following is a sample output for the show interfaces rep command:
show rep topology
To display REP topology information for a segment or for all the segments (including the primary and secondary edge ports in the segment), use the show rep topology command in privileged EXEC mode.
show rep topology [segment id ] [archive] [detail]
Syntax Description
Displays the REP topology information for a specific segment. The ID range is from 1 to 1024. |
|
Command Default
Command Modes
Usage Guidelines
The archive keyword is useful for troubleshooting a link failure.
Examples
The following is a sample output for the show rep topology command:
interface channel-group
To create a channel group on the GE_XP, 10GE_XP, GE_XPE, and 10GE_XPE cards, use the interface channel-group command in global configuration mode.
interface channel-group chanlgrp-num
Syntax Description
ID of the channel group. The channel group range is as follows: |
Command Default
Command Modes
Examples
The following example shows how to create a channel group with id 7:
ethernet cfm ieee
To enable CFM on the GE_XP, 10GE_XP, GE_XPE, and 10GE_XPE cards, use the ethernet cfm ieee command in global configuration mode. To disable CFM on the card, use the no form of this command.
Syntax Description
Command Default
Command Modes
Examples
The following example shows how to enable CFM on the GE_XP, 10GE_XP, GE_XPE, and 10GE_XPE cards:
ethernet cfm domain
To create a maintenance domain, use the ethernet cfm domain in global configuration mode.
ethernet cfm domain domain_name level level
[no] ethernet cfm domain domain_name level level
Syntax Description
Command Default
Command Modes
Examples
The following example shows how to create a maintenance domain with level 4:
ethernet cfm service
To attach the maintenance association to a maintenance domain, use the ethernet cfm service command in global configuration mode.
ethernet cfm service service_name vlan vlan
[no] ethernet cfm service service_name vlan vlan
Syntax Description
Name of the service identified by the maintenance association. |
|
Command Modes
Examples
The following example shows how to attach a maintenance association to a maintenance domain:
rep admin svlan
To configure the REP administrative VLAN to transmit hardware flood layer (HFL) messages, use the rep admin svlan command in global configuration mode. To return to the default configuration with VLAN 1 as the administrative VLAN, use the no form of this command.
Syntax Description
Command Default
Command Modes
Usage Guidelines
If the REP administrative VLAN is not configured, the default is VLAN 1. There can be only one administrative VLAN on a switch and on a segment.
Examples
The following example shows how to configure the REP administrative VLAN:
mac-address-table learning vlan vlanid
Use the mac-address-table learning vlan global configuration command to enable MAC address learning on a VLAN. Use the no form of this command to disable MAC address learning on a VLAN to control which VLANs can learn MAC addresses.
mac-address-table learning vlan vlanid
no mac-address-table learning vlan <vlanid>
Syntax Description
Command Modes
Command Default
Usage Guidelines
Customers in a service provider network can tunnel a large number of MAC addresses through the network and fill the available MAC address table space. When you control MAC address learning on a VLAN, you can manage the available MAC address table space by controlling which VLANs, and therefore which ports, can learn MAC addresses.
Examples
An example to enable MAC address learning on VLAN 10 is shown:
[no] mac-address-table learning interface type port
Use the mac-address-table learning interface type port global configuration command to specify interface based learning of MAC addresses.
Syntax Description
Command Modes
Command Default
Usage Guidelines
Examples
This example shows how to enable MAC-address learning on an interface:
[no] vlan vlan-id
To add a VLAN and enter config-VLAN submode, use the vlan command. Use the no form of this command to delete the VLAN.
Syntax Description
Command Modes
Command Default
Usage Guidelines
Examples
This example shows how to add a new VLAN and to enter config-VLAN submode:
interface gigabitethernet port
To enter gigabit ethernet (GigE) interface configuration, use the interface gigabitethernet command in the appropriate configuration mode.
interface gigabitethernet port
Syntax Description
Command Modes
Command Default
Usage Guidelines
Examples
This example shows how to enter Gigabit Ethernet interface on port 2:
interface tengigabitethernet port
To enter ten gigabit ethernet (10 GigE) interface configuration, use the interface tengigabitethernet command in the appropriate configuration mode.
interface tengigabitethernet port
Syntax Description
Command Modes
Command Default
Usage Guidelines
Examples
This example shows how to enter 10GigE interface on port 21:
policy-map name
To configure the Quality of Service (QoS) policy map, use the policy-map command. Use the no form of this command to delete a policy map.
Syntax Description
Command Modes
Command Default
Usage Guidelines
Examples
This example shows how to create a QoS policy for ingress traffic on an interface command:
[no] mvr
Use the mvr global configuration command to enable the multicast VLAN registration (MVR) feature on the GE_XP, 10GE_XP, GE_XPE, and 10GE_XPE. Use the [no] mvr form of this command to disable MVR and its options.
Command Modes
Command Default
Usage Guidelines
A maximum of 256 MVR multicast groups can be configured on the GE_XP, 10GE_XP, GE_XPE, and 10GE_XPE. MVR can be enabled only after the multi-group address and VLAN are configured.
Examples
This example shows how to configure 228.1.23.4 as an IP multicast address:
This example shows how to set VLAN 2 as the multicast VLAN:
This example shows how to enable MVR:
This example shows how to disable MVR:
mvr vlan
To specify the VLAN (SVLAN) to act as a multicast VLAN, use the mvr vlan command. All ports must belong to this VLAN.
Syntax Description
Command Modes
Command Default
Usage Guidelines
Examples
This example shows how to set a VLAN to act as the multicast VLAN:
mvr group ip address count
To configure an IP multicast address on the GE_XP, 10GE_XP, GE_XPE, or 10GE_XPE card, use the count parameter to configure a contiguous series of MVR group addresses. Any multicast data sent to this address is sent to all source ports on the switch and all receiver ports that have elected to receive data on that multicast address. Each multicast address would correspond to one television channel.
Syntax Description
Command Modes
Command Default
Examples
The following example shows how to configure two contiguous MVR address groups:
ethernet cfm cc_interval interval
To configure the value of the Continuity Check timer (CC timer), use the ethernet cfm cc_interval command in CFM maintenance association configuration mode.
ethernet cfm cc_interval interval
[no] ethernet cfm cc_interval interval
Syntax Description
Continuity Check timer interval. The interval values are 1 second, 10 seconds, and 1 minute. |
Command Default
Command Modes
CFM Maintenance Association configuration (config-ecfm-srv)
Examples
The following example shows how to set the value of the CC timer to 10 seconds:
service service_name
To configure the service name for the maintenance association, use the service service_name command in CFM maintenance association configuration mode.
Syntax Description
Command Modes
CFM Maintenance Association configuration (config-ecfm-srv)
Examples
The following example shows how to configure a CFM service:
continuity-check
To enable the CC timer for the maintenance association profile, use the continuity-check command in CFM maintenance association configuration mode. To disable the CC timer for the maintenance association profile, use the no form of this command.
Syntax Description
Command Default
Command Modes
CFM Maintenance Association configuration (config-ecfm-srv)
Examples
The following example shows how to enable the CC timer for the maintenance association profile:
name vlan name
To configure the VLAN, use the name vlan name command in VLAN interface configuration mode.
Syntax Description
Command Modes
Command Default
Usage Guidelines
Names with blank spaces can be provided by enclosing the name within double quotes.
Examples
The following example shows how to set the VLAN name:
protected
To enables or disable Fast Automatic Protection Switching (FAPS) on the specified SVLAN, use the protected command.
Syntax Description
Command Modes
Command Default
Examples
The following example shows how to configure the card for protection:
ip igmp snooping
To enable IGMP snooping, use the ip igmp snooping command. Use the no form of this command to disable IGMP snooping.
Syntax Description
Command Default
Command Modes
Usage Guidelines
Before you can enable IGMP snooping configure the VLAN interface for multicast routing.
Examples
This example shows how to enable IGMP snooping:
ip igmp snooping immediate-leave
To enable IGMPv2 snooping immediate-leave processing on all existing VLAN interfaces, use the ip igmp snooping immediate-leave command. Use the no form of this command to disable immediate-leave processing.
ip igmp snooping immediate-leave
no ip igmp snooping immediate-leave
Syntax Description
Defaults
By default, IGMP snooping immediate leave is disabled on all SVLANs.
Command Modes
Usage Guidelines
The immediate-leave feature is supported only with IGMP version 2.
Examples
This example shows how to enable IGMP immediate-leave processing:
ip igmp snooping report-suppression
To enable report suppression, use the ip igmp snooping report-suppression command. Use the no form of this command to disable report suppression and forward the reports to the multicast devices.
ip igmp snooping report-suppression
no igmp snooping report-suppression
Syntax Description
Defaults
By default, IGMP snooping report-suppression is disabled on all SVLANs.
Command Modes
Examples
This example shows how to enable report suppression:
This example shows how to disable report suppression:
channel-group channel-number mode chanlgrp-mode
To configure the mode for the channel group on the GE_XP, 10GE_XP, GE_XPE, and 10GE_XPE cards, use the channel-group channel-number mode chanlgrp-mode command in interface configuration mode. To set the channel group mode to active, use the no form of this command.
channel-group channel-number mode chanlgrp-mode
[no] channel-group channel-number mode chanlgrp-mode
Syntax Description
Mode of the channel group. The channel group mode values are active, passive, and manual. |
Command Default
Command Modes
Interface Configuration (config-if)
Examples
The following example shows how to change the channel group mode to passive:
channel-group channel-number hash chanlgrp-hash
To configure the hashing algorithm for the channel group on the GE_XP, 10GE_XP, GE_XPE, and 10GE_XPE cards, use the channel-group channel-number hash chanlgrp-hash command in interface configuration mode.
channel-group channel-number hash chanlgrp-hash
[no] channel-group channel-number hash chanlgrp-hash
Syntax Description
Hashing algorithm for the channel group. The channel group hash values are sa-incoming, da-incoming, sa-da-incoming, src-ip-tcp-udp, dst-ip-tcp-udp, and src-dst-ip-tcp-udp. |
Command Default
Command Modes
Interface Configuration (config-if)
Examples
The following example shows how to change the hashing algorithm for the channel group mode to src-ip-tcp-udp:
channel-group channel-number expected speed chanlgrp-speed
To change the expected speed of the channel group on the GE_XP, 10GE_XP, GE_XPE, and 10GE_XPE cards, use the channel-group channel-number expected speed chanlgrp-speed command in interface configuration mode.
channel-group channel-number expected speed chanlgrp-speed
[no] channel-group channel-number expected speed chanlgrp-speed
Syntax Description
Expected speed of the channel group. The channel group speed values are 10, 100, and 1000. |
Command Default
Command Modes
Interface Configuration (config-if)
Examples
The following example shows how to change the expected speed for the channel group to 100:
description description
To specify the port name, use the description command in interface configuration mode.
Syntax Description
Command Modes
Usage Guidelines
To view the ports on an interface, use the show interfaces command in privileged EXEC mode.
Examples
This example shows how to specify a port name:
The following partial sample output displays the port name that was set:
ethernet oam
To enable EFM on an interface, use the ethernet oam command in interface configuration mode. To disable EFM on an interface, use the no form of this command.
Syntax Description
Command Default
Command Modes
Interface Configuration (config-if)
Usage Guidelines
When EFM is configured on an interface, the default mode of the EFM client is active. When the EFM mode is enabled on two interfaces passing traffic, both interfaces cannot be in passive mode. Both interfaces can be in active mode, and one can be in active mode and the other in passive mode.
Examples
The following example shows how to enable EFM on an interface:
ethernet oam mode
To configure the EFM mode (active or passive) and the timeout parameter, use the ethernet oam command in interface configuration mode. To return to the default configuration, use the no form of this command.
ethernet oam [mode {active | passive} | timeout seconds ]
[no] ethernet oam [mode {active | passive} | timeout seconds ]
Syntax Description
Command Default
Command Modes
Interface Configuration (config-if)
Usage Guidelines
When EFM is configured on an interface, the default mode of the EFM client is active. When the EFM mode is enabled on two interfaces passing traffic, both interfaces cannot be in passive mode. Both interfaces can be in active mode, and one can be in active mode and the other in passive mode.
Examples
The following example shows how to set the EFM mode as passive with 25 seconds as timeout period:
ethernet oam link-monitor frame
To configure an error frame threshold or window on an EFM interface, use the ethernet oam link-monitor frame command in interface configuration mode. To remove the error frame threshold or window, use the no form of this command.
ethernet oam link-monitor frame {threshold {high {none| high frames } | low { low frames }} | window milliseconds }
[no] ethernet oam link-monitor frame {threshold {high {none| high frames } | low { low frames }} | window milliseconds }
Syntax Description
Command Default
The ethernet oam link-monitor frame command is not configured.
Command Modes
Interface Configuration (config-if)
Usage Guidelines
The ethernet oam link-monitor frame command configures a number of error frames that triggers an action or a period of time in which error frames are counted.
Examples
The following example shows how to configure an EFM link-monitor frame window of 300 milliseconds:
ethernet oam link-monitor frame-period
To configure an error frame period on an EFM interface, use the ethernet oam link-monitor frame-period command in interface configuration mode. To remove the error frame period, use the no form of this command.
ethernet oam link-monitor frame-period {threshold {high {none| high-frames } | low { low-frames }} | window frames }
[no] ethernet oam link-monitor frame-period {threshold {high {none| high-frames } | low { low-frames }} | window frames }
Syntax Description
Command Default
The ethernet oam link-monitor frame-period command is not configured.
Command Modes
Interface Configuration (config-if)
Usage Guidelines
The ethernet oam link-monitor frame-period command configures an error frame period in number of frames. When a high threshold is configured, it must be at least as same as the low threshold for frame errors.
Examples
The following example shows how to configure an EFM link-monitor frame-period window of 20000 frames:
The following example shows how to configure an EFM link-monitor frame-period low threshold of 500 frames:
ethernet oam link-monitor frame-seconds
To configure the frame-seconds period on an EFM interface, use the ethernet oam link-monitor frame-seconds command in interface configuration mode. To remove the frame-seconds period, use the no form of this command.
ethernet oam link-monitor frame-seconds {threshold {high {none| high-frames } | low { low-frames }} | window milliseconds }
[no] ethernet oam link-monitor frame-seconds {threshold {high {none| high-frames } | low { low-frames }} | window milliseconds }
Syntax Description
Command Default
The ethernet oam link-monitor frame-seconds command is not configured.
Command Modes
Interface Configuration (config-if)
Usage Guidelines
The ethernet oam link-monitor frame-seconds command configures a number of error frames that triggers an action or a period of time in which error frames are counted.
Examples
The following example shows how to configure an EFM link-monitor frame-seconds window of 30000 milliseconds (30 seconds):
ethernet oam link-monitor high-threshold
To configure a specific action to occur when a high threshold for an error is exceeded on an EFM interface, use the ethernet oam link-monitor high-threshold command in interface configuration mode. To remove the high-threshold action, use the no form of this command.
ethernet oam link-monitor high-threshold action {none|disable-port}
[no] ethernet oam link-monitor high-threshold action {none|disable-port}
Syntax Description
Specifies the action taken when the high threshold for an error is exceeded. |
|
Command Default
Command Modes
Interface Configuration (config-if)
Examples
The following example shows how to configure the disable-port action to occur when the high threshold for an error is exceeded:
ethernet oam remote-failure link-fault
To configure the EFM Remote Failure Indication (RFI), use the ethernet oam remote-failure link-fault command in interface configuration mode. To remove the configuration, use the no form of this command.
ethernet oam remote-failure link-fault action error-block-interface
[no] ethernet oam remote-failure link-fault action error-block-interface
Syntax Description
Specifies the interface that is placed in the error-block state. |
Command Default
Command Modes
Interface Configuration (config-if)
Examples
The following example shows how to configure the error-block-interface action to occur for a remote failure:
ethernet cfm mip
To create a MIP and configure the MIP parameters, use the ethernet cfm mip command in interface configuration mode.
ethernet cfm mip level level vlan vlan
[no] ethernet cfm mip level level vlan vlan
Syntax Description
Command Default
Command Modes
Interface configuration (config-if)
Examples
The following example shows how to create a MIP with the maintenance level 4 and VLAN 100:
ethernet cfm mep
To create a MEP and configure the MEP parameters, use the ethernet cfm mep command in interface configuration mode.
ethernet cfm mep domain domain_name mepid mepid vlan vlan
[no] ethernet cfm mep domain domain_name mepid mepid vlan vlan
Syntax Description
Command Default
Command Modes
Interface configuration (config-if)
Examples
The following example shows how to create a MEP:
ethernet cfm interface
To enable CFM on the interface, use the ethernet cfm interface in interface configuration mode. To disable CFM on the interface, use the no form of this command.
Syntax Description
Command Default
Command Modes
Interface configuration (config-if)
Examples
The following example shows how to enable CFM on the interface:
rep segment
To enable REP on an interface and to assign a segment ID to it, use the rep segment command in interface configuration mode. REP is disabled on all interfaces by default. To disable REP on an interface, use the no form of this command.
rep segment { id } [edge [no-neighbor] [primary]] [preferred]
[no] rep segment { id } [edge [no-neighbor] [primary]] [preferred]
Syntax Description
Command Default
Command Modes
Interface configuration (config-if)
Usage Guidelines
When REP is enabled on an interface, the default is for the port to be a regular segment port
You must configure two edge ports on each REP segment. If you configure two ports in a segment as the primary edge port, for example, ports on different switches, the configuration is allowed. However, REP selects one of the ports to serve as the segment primary edge port. If you enable REP on two ports on a switch, the ports must be either regular segment ports or edge ports.
Examples
The following example shows how to enable REP on a regular segment port:
The following example shows how to enable REP on a port and identify the port as the REP primary edge port:
The following example shows how to enable REP on a port and identify the port as the REP secondary edge port:
rep stcn
To configure the edge port to send REP segment topology change notifications (STCNs) to another interface or to other segments, use the rep stcn command in interface configuration mode. To disable the sending of STCNs to the interface or segment, use the no form of this command.
rep stcn {interface {interface-id} | segment {id_list}}
[no] rep stcn {interface {interface-id} | segment {id_list}}
Syntax Description
Identifies a physical interface or port channel to receive STCNs. |
|
Identifies one REP segment or list of segments to receive STCNs. |
|
Command Default
Transmission of STCNs to other interfaces and segments is disabled by default.
Command Modes
Interface configuration (config-if)
Usage Guidelines
STCNs are disabled by default. This command does not apply to regular segment ports.
Examples
The following example shows how to configure a REP edge port to send STCNs:
rep preempt delay
To configure a waiting period after a segment port failure and recovery before VLAN load balancing is triggered, use the rep preempt delay command in interface configuration mode. To remove the configured delay, use the no form of this command.
Syntax Description
Number of seconds to delay REP preemption. The time delay range is from 15 to 300. |
Command Default
No preemption delay is set if you do not enter the rep preempt delay command. The default setting is manual preemption with no delay.
Command Modes
Interface configuration (config-if)
Usage Guidelines
Enter this command only on the REP primary edge port. Enter this command and configure a preempt delay if you want VLAN load balancing to automatically trigger after a link failure and recovery.
Examples
The following example shows how to configure REP preemption time delay of 100 seconds on the primary edge port:
rep preempt
To manually start the REP preemption, use the rep preempt command in interface configuration mode. The no form of this command is used to de-activate the REP VLAN load balancing.
Syntax Description
Command Default
Command Modes
Interface configuration (config-if)
Usage Guidelines
Enter this command on the primary edge port where VLAN load balancing is configured.
Examples
The following example shows how to manually trigger REP preemption:
rep preempt segment
To manually start the REP preemption on a segment, use the rep preempt segment command in interface configuration mode. This command does not have a no form.
rep preempt segment segment_id
Syntax Description
Command Default
Command Modes
Interface configuration (config-if)
Usage Guidelines
Enter this command on the switch that has the primary edge port.
Examples
The following example shows how to manually trigger REP preemption on segment 100:
rep block port
To configure REP VLAN load balancing on the REP primary edge port, use the rep block port in interface configuration mode. To return to the default configuration, use the no form of this command.
rep block port {id port_id | preferred} vlan {vlan_list | all}
[no] rep block port {id port_id | preferred} vlan {vlan_list | all}
Syntax Description
Command Default
Command Modes
Interface configuration (config-if)
Usage Guidelines
The default behavior after you enter the rep preempt segment privileged EXEC command (for manual preemption) is to block all VLANs at the primary edge port. This behavior remains until you configure the rep block port command.
If the primary edge port cannot determine which port is to be the alternate port, the default action is no preemption and no VLAN load balancing.
Examples
The following example shows how to configure the alternate port to block VLANs 1 to 100:
shutdown
To disable a port, use the shutdown command. Use the no shutdown command to enable the port. This command can be executed only by administrators.
Syntax Description
Command Modes
Examples
This example shows how to shutdown traffic on vlan 2:
mtu bytes
To set the maximum frame size that will be accepted by the port, use the mtu command.
To enable jumbo frames on an interface by adjusting the maximum transmission unit (MTU), use the mtu command.
Syntax Description
Defaults
By default, jumbo frames are disabled. The default mtu value is 9700
Command Modes
Usage Guidelines
Login as an administrator and make sure that the port is down administratively to make this setting.
Examples
This example shows how to specify an MTU of 1800 bytes:
speed auto|1000, 10000
To enable auto negotiation or to set the speed manually, use the speed command in interface configuration mode.
Syntax Description
Command Modes
Usage Guidelines
The speed of client and trunk ports of GE_XP, 10GE_XP, GE_XPE, and 10GE_XPE can be set accordingly:
|
|
|
---|---|---|
Examples
The following example specifies 1000 Mbps operation:
flowcontrol on|off
To set a gigabit ethernet interface to send or receive pause frames, use the flowcontrol ON or OFF command.
Syntax Description
Defaults
By default, Gigabit Ethernet and 10 Gigabit Ethernet interface ports are set to off.
Command Modes
Usage Guidelines
Pause frames are special packets that signal a source to stop sending frames for a specific period of time because the buffers are full.
Examples
This example shows how to enable a port to pause frames:
switchport mode trunk
To set a port as UNI/NNI, use the switchport mode trunk command.
Defaults
By default, all client ports are dot1q-tunnel and all trunk ports are trunk.
Command Modes
Usage Guidelines
The port has to be administratively down to make these settings
Examples
This example shows how to configure a port for trunk mode:
To verify your settings enter the show interfaces privileged EXEC command.
switchport mode dot1q-tunnel
These commands set a port as UNI/NNI, use the switchport mode trunk command.
Syntax Description
Defaults
By default, all client ports are dot1q-tunnel and all trunk ports are trunk
Command Modes
Usage Guidelines
Use the switchport mode trunk command to cause the interface to become a trunk.
Examples
This example shows how to configure a port as an IEEE 802.1Q tunnel port:
To verify your settings enter the show interfaces privileged EXEC command.
service-policy input name
To set the ingress and egress QoS parameters on the port by mapping relevant policies to the port, use the service-policy input command.
[no] service-policy input name
Syntax Description
Defaults
Command Modes
Usage Guidelines
Examples
This example shows how to attach a policy map to an interface:
service-policy output name
To set the ingress and egress QoS parameters on the port by mapping relevant policies to the port, use the service-policy output name command in interface configuration command.
[no] service-policy output name
Syntax Description
Defaults
Command Modes
Examples
This example shows how to attach a policy map to an output interface:
service instance ethernet name
To create a service instance on an interface, use the service instance ethernet name command.
service instance ethernet name
Syntax Description
Command Modes
Examples
This example shows how to create a service instance:
l2protocol-tunnel
To enable protocol tunneling on an interface, use the l2protocol-tunnel command.
Syntax Description
Defaults
Command Modes
Examples
This example shows how to enable protocol tunneling:
[no] switchport port-security mac-address mac-address
To configure a secure MAC address for an interface, use the switchport port-security mac-address command.
switchport port-security mac-address mac-address
[no] switchport port-security mac-address mac-address
Syntax Description
Defaults
Command Modes
Examples
This example shows how to configure a MAC address as secure on the interface:
ip igmp snooping mrouter
To configure a Layer 2 port as a multicast router port, use the ip igmp snooping mrouter command. Use the no form of this command to remove the configuration.
Command Modes
Usage Guidelines
Takes effect on SVLANS associated with the port where IGMP is enabled.
Examples
This example shows how to specify the next-hop interface to the multicast router:
encapsulation default
To set the encapsulation method used by the interface, use the encapsulation default command in service interface configuration mode.
Syntax Description
Command Modes
Service instance configuration
Usage Guidelines
Execute the rew ing tag push dot1 <svlan> command to set the port in transparent mode.
Examples
encapsulation dot1q first cvlan last cvlan
To enable IEEE 802.1Q encapsulation of traffic on a specified subinterface in a virtual LAN (VLAN), use the encapsulation dot1q first cvlan last cvlan> command in service interface configuration mode or subinterface configuration mode
encapsulation dot1q first cvlan last cvlan>
Syntax Description
Comma must be entered to separate each customer VLAN (CVLAN) ID range from the next range. |
Defaults
Command Modes
Service instance configuration
Usage Guidelines
IEEE 802.1Q encapsulation is configurable on interface GiGe and 10Gige interfaces. IEEE 802.1Q is a standard protocol for interconnecting cards and for defining VLAN topologies.
Examples
encapsulation untagged
Defines the matching criteria to be used in order to map untagged Ethernet frames ingress on an interface to the appropriate service instance.
Syntax Description
Command Modes
Service instance configuration
Examples
bridge-domain svlan
To enable RFC 1490 Frame Relay bridging to map a bridged VLAN to the GE_XP, 10GE_XP, GE_XPE, and 10GE_XPE card, use the bridge-domain command in service interface configuration mode.
Syntax Description
SVLAN ID to be used in the bridging configuration. The valid range is from 1 to 4093. |
Defaults
Command Modes
Service instance configuration
Examples
The following example shows the GE_XP, 10GE_XP, GE_XPE, and 10GE_XPE being configured for IEEE 802.1Q VLAN bridging using a VLAN ID of 99:
police cir percent % bc bytes be bytes
To configure traffic policing based on a percentage of bandwidth available on an interface, use the police command in policy-map configuration mode.
police cir percent % bc bytes be bytes
Syntax Description
Defaults
Command Modes
Policy-map configuration and VLAN profile configuration.
Examples
The following example configures traffic policing using a cir and a pir based on a percentage of bandwidth. In this example, a cir of 20 percent and a pir of 40 percent have been specified. Additionally, an optional bc value and be value (300 ms and 400 ms, respectively) have been specified.
set cos number
To set the Layer 2 class of service (CoS) value of an outgoing packet, use the set cos command in policy-map class configuration mode.
Syntax Description
Defaults
Command Modes
Usage Guidelines
Examples
In the following example, the policy map called "cos-set" is created to assign different CoS values for different types of traffic.
wrr-queue cos-map queue-id cos1 … cosn
To map CoS values to drop thresholds for a queue, use the wrr-queue cos-map command.
wrr-queue cos-map queue-id cos1 … cosn
Syntax Description
Command Modes
Examples
This example shows how to map the CoS values 0 and 1 to standard transmit queue 1
wrr-queue queue-id weight 1-16 bandwidth percent %
To allocate bandwidth between standard transmit queue 1 (low priority) and standard transmit queue 2 (high priority), use the wrr-queue bandwidth command.
wrr-queue <queue-id> weight <1-16> bandwidth percent <%>
Syntax Description
Command Modes
Examples
This example shows how to allocate a three-to-one bandwidth ratio: