- Preface
- Chapter 1, Shelf Assembly Hardware
- Chapter 2, Common Control Cards
- Chapter 3, Optical Service Channel Cards
- Chapter 4, Optical Amplifier Cards
- Chapter 5, Multiplexer and Demultiplexer Cards
- Chapter 6, PSM Card
- Chapter 7, Optical Add/Drop Cards
- Chapter 8, Reconfigurable Optical Add/Drop Cards
- Chapter 9, Transponder and Muxponder Cards
- Chapter 10, Node Reference
- Chapter 11, Network Reference
- Chapter 12, Optical Channel Circuits and Virtual Patchcords Reference
- Chapter 13, Cisco Transport Controller Operation
- Chapter 14, Security Reference
- Chapter 15, Timing Reference
- Chapter 16, Manage Network Connectivity
- Chapter 17, Alarm and TCA Monitoring and Management
- Chapter 18, Performance Monitoring
- Chapter 19, SNMP
- Appendix A, Hardware Specifications
- Appendix B, Administrative and Service States
- Appendix C, Pseudo Command Line Reference
- Appendix D, Connector Losses in Raman Link Configuration
- C.1 Understanding PCLI
- C.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
- 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
- name vlan name
- protected
- ip igmp snooping
- ip igmp snooping immediate-leave
- ip igmp snooping report-suppression
- description description
- 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.
C.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.
C.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.
C.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.
C.2.1 Common Commands
C.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.
C.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.
C.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:
C.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.
C.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:
- description description
- 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
C.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.
C.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:
C.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 3-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:
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
This example shows how to configure two contiguous MVR address groups.
name vlan name
To configure the VLAN, use the name <vlan name> command.
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:
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 privilege mode.
Examples
This example shows how to specify a port name:
The following partial sample output displays the port name that was set:
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: