> Ethernet Port Configuration Mode Commands
> The Ethernet Port Configuration Mode is used to create and manage Ethernet ports and their bindings between contexts.
> bind interface
> Configures an association (binds) between a virtual IP interface, an SS7 or Frame Relay link to a specific context.
> Product
> All
> Privilege
> Security Administrator, Administrator
> Syntax
> [ no ] bind interface interface_name context_name
> no
> Indicates the virtual interface specified is to be unbound from the context.
> interface_name
> Specifies the name of the virtual interface to be bound to the context as an alphanumeric string of 1 through 79 characters.
> context_name
> Specifies the name of the context to be bound to the virtual port. context_name must refer to a previously configured context.
> Usage
> Bind an interface to a context to allow the context to provide service.
> Example
> bind interface sampleVirtual sampleContext
> no bind interface sampleVirtual sampleContext
> default
> Restores the speed and communication mode of the default interface for the specified context.
> Product
> All
> Privilege
> Security Administrator, Administrator
> Syntax
> default { flow-control | link-aggregation { lacp | redundancy } | medium | preferred slot | threshold { high-activity | monitoring | rx-utilization | tx-utilization } }
> flow-control
> Restores the default behavior to advertise symmetric flow control.
> link-aggregation { lacp | redundancy }
> Restores the default values for link-aggregation as follows:

> • | lacp: Active – sends out LACP packets periodically.

> • | redundancy: Standard – treats all cards in the group as one group.

> medium
> Restores the default values for the medium options as follows:

> • | SPIO and fast ethernet line cards: auto

> • | Gigabit ethernet line card: auto

> preferred slot
> Sets the port for non-revertive operation for port redundancy auto-recovery; requiring an administrative user to manually issue a port switch to command to return service to the original port.
> threshold { high-activity | monitoring | rx-utilization | tx-utilization }
> Restores the specified port-level threshold parameters to its default value(s). The possible values are:

> • | high-activity: High port activity threshold settings. Default: 50 percent

> • | monitoring: Threshold monitoring configuration settings. Default: Disabled

> • | rx-utilization: Receive port utilization threshold settings. Default: 80 percent

> • | tx-utilization: Transmit port utilization threshold settings. Default: 80 percent

> Usage
> Restores port-level parameters to their default values.
> Example
> default medium
> description
> Sets the port descriptive text.
> Product
> All
> Privilege
> Security Administrator, Administrator
> Syntax
> description text
> no description
> no
> Clears the description for the port.
> text
> Specifies the descriptive text as an alphanumeric string of 1 to 79 characters.
> Usage
> The description should provide useful information on the port’s primary function, services, end users, etc.
> Example
> description samplePortDescriptiveText
> description “This is a sample description”
> end
> Exits the current configuration mode and returns to the Exec mode.
> Product
> All
> Privilege
> Security Administrator, Administrator
> Syntax
> end
> Usage
> Use this command to return to the Exec mode.
> exit
> Exits the current mode and returns to the parent configuration mode.
> Product
> All
> Privilege
> Security Administrator, Administrator
> Syntax
> exit
> Usage
> Use this command to return to the parent configuration mode.
> fault-unidirect-mode
> Configures the unidirectional mode that generates fault messages for the connection's peer when local faults are detected and remote faults are received.
> Product
> All
> Privilege
> Security Administrator, Administrator
> Syntax
> [ no ] fault-unidirect-mode ( clause-46 | clause-66 }
> no fault-unidirect-mode
> Disables fault message generation.
> ( clause-46 | clause-66 }
> clause-46: On local fault reception, continuous remote faults are sent. On remote fault reception, continuous idles are sent. [IEEE 802.3, Clause 46, Reconciliation Sublayer (RS) and 10 Gigabit Media Independent Interface (XGMII)]
> clause-66: On local fault reception, frame transmit is continued, remote fault indication is sent during Inter-Frame Gap (IFG). On remote fault reception, frame transmit is continued. [IEEE 802.3, Clause 66, Extensions of the 10 Gb/s Reconciliation Sublayer (RS), 100BASE-X PHY, and 1000BASE-X PHY for unidirectional transport]
> Usage
> Configure the unidirectional mode that generates fault messages for the connection's peer when local faults are detected and remote faults are received.
> Example
> After flow control has been disabled, use the following command to enable flow control:
> fault-unidirect-mode clause-46
> flow-control
> Enables and disables flow control on the Quad Gig-E line card (QGLC).
> Product
> PDSN, SGSN, GGSN
> Privilege
> Security Administrator, Administrator
> Syntax
> [ no ] flow-control
> no
> Disables flow control on the specified port.
> Usage
> Flow control is enabled by default on the QGLC and can be disabled using the no command on a per-port basis. This command does not work on the Fast Ethernet Line Card (FELC), Gigabit Ethernet Line Card (GELC/GLC2) or 10 GigE Line Card (XGLC) which do not support flow control.
> Example
> After flow control has been disabled, use the following command to enable flow control:
> flow-control
> ingress-mode
> Labels this port as an ingress port.
> Product
> IPSG
> Privilege
> Security Administrator, Administrator
> Syntax
> [ no ] ingress-mode
> no
> Disables ingress port tag.
> Usage
> Use this command to label this port in order for the session manager to recognize the interface from which IP data packets are being received. This command should be used in single context configurations. In single context configurations, the ingress port can only be identified if labeled.
> link-aggregation
> Aggregates ports on a Quad Gig-E line card (QGLC) or 10 Gig-E line card (XGLC) and set related parameters in accordance IEEE 802.3ad.
> Product
> WiMAX, PDSN, HA, FA, GGSN, SGSN
> Privilege
> Security Administrator, Administrator
> Syntax
> link-aggregation { distribution { block | random | rotate | simple } | lacp { active | passive } [ rate { auto | fast | slow } ] [ timeout { long | short } ] | master { global group group_number | group group_number | local group group_number } | member { global group group_number | group group_number | local group group_number } | redundancy { standard | switched } [ hold-time sec ] [ preferred slot { card_number | none } ] | toggle-link }
> no link-aggregation [ toggle-link ]
> default link-aggregation { distribution | lacp | redundancy | toggle-link }
> distribution { block | random | rotate | simple }
> Configures link aggregation distribution and controls how a Link Aggregation Group (LAG) hash map is generated. This method is required for Equal Cost Multi-Path (ECMP) routing over LAG. Set this option on the master port for use with the whole group. The following list defines the distribution options (assuming port index 0,1,2,3 were selected.
> block: Blocks of the same port index (Example: 0000111122223333)
> random: Based on pseudo random number
> rotate: Repetition of rotated port index (Example: 0123123023013012…)
> simple: Repetition of all selected port indexes (Example: 0123012301230123…)
> lacp { active | passive }
> Configures the Link Aggregation Control Protocol (LACP). Set this option on the master port for use with the whole group.
> active mode sends out LACP packets periodically. (Default)
> passive mode only responds to LACP packets received.
> rate { auto | fast | slow }
> Configures the rate at which the LACP sends packets.
> auto: rate is controlled by the peer
> fast: 1 seconds
> slow: 30 seconds (Default)
> timeout { long | short }
> Configures LACP timeout events. Set this option on the master port for use with the whole group.
> long: Set LACP to long timeout
> short: Set LACP to short timeout
> master { global group group_number | group group_number | local group group_number }
> This command creates the Master port for the aggregated group.
> global: Set group global across slots.
> group group_number: Set link aggregation group number. group_number must be an integer between 1 and 1023.
> local: Set group local within same slot.
> member { global group group_number | group group_number | local group group_number }
> This command makes the port a member of the aggregated group.
> global: Set group global across slots.
> group group_number: Set link aggregation group number. group_number must be an integer from 1 through 1023.
> local: Set group local within same slot.
> redundancy { standard | switched } [ hold-time sec ] [ preferred slot { card_number | none } ]
> Connects top and bottom QGLCs and side-by-side XGLCs to different switches. The master port must be set to make this effective for the group.
> standard: Treats all cards in the group as one group. (Default)
> switched: Assumes cards are connected to different switches.
> hold-time sec: Sets the amount of time to hold (in seconds) before switching between cards. Applies to standard and switched modes. sec must be an integer from 0 through 3600. Default: 10
> preferred slot card_number: Specifies revertive/non-revertive preference including preferred slot for standard LAG for two switches. Applies to standard and switched modes. card_number is an integer between 1 and 48
> none: Specifies no preferred slot.
> toggle-link
> Set to toggle link on port switch.
> default
> Restores the default values.
> no
> This command deletes the Ethernet port from any group it might be in. If the port was the Master of a group, the whole group would be deleted.
> Usage
> Configure from one to four ports on a QGLC (vertical aggregation) or the single port on XGLCs (horizontal aggregation) to be in an aggregation group on the chassis that links to an aggregation group on a remote switch. Very large files can be downloaded across all ports in a group, which makes for a faster download when compared to serial downloads over a single link. For additional information, refer to the System Administration Guide.
> Example
> The following example configures the port to be the Master for Group 2:
> link aggregation master group 2
> media
> Configures the port interface type.
> Product
> All
> Privilege
> Security Administrator, Administrator
> Syntax
> media { rj45 | sfp }
> { rj45 | sfp}
> rj45: Sets the physical interface to copper RJ-45 connectors.
> sfp: Sets the physical interface connection to optical Small Form Factor (SFP) gigabit via an SFP transceiver.
> Usage
> Set the media option when the physical cabling interface is changed.
> Example
> The following commands are entered one-at-a-time to set the physical interface to RJ-45 and SFP:
> media rj45
> media sfp
> medium
> Configures the port speed and communication mode.
> Product
> All
> Privilege
> Security Administrator, Administrator
> Syntax
> medium { auto | speed { 10 | 100 | 1000 | 10000 } duplex { full | half } }
> { auto | speed { 10 | 100 | 1000 | 10000 } duplex { full | half } }
> Default: auto
> Optionally sets the speed of the interface and the communication mode.
> auto: configures the interface to auto negotiate the interface speed.
> speed { 10 | 100 | 1000 | 10000 }: specifies the speed to use at all times.
> duplex { full | half }: sets the communication mode of the interface to either full or half duplex.
> Important: Ethernet networking rules dictate that if a device whose interface is configured to auto-negotiate is communicating with a device that is manually configured to support full duplex, the first device will negotiate to the manually configured speed of the second device but will only communicate in half duplex mode.
> Usage
> Set the medium options when the physical interface changes.
> Example
> The following configures the port’s speed and communication mode to be auto negotiated.
> medium auto
> The following command configures the port’s interface speed to gigabit with full duplex communication.
> medium speed 1000 duplex full
> preferred slot
> Assigns revertive or non-revertive control to port redundancy auto-recovery.
> Default: non-revertive operation
> Product
> PDSN, FA, HA, SGSN, GGSN
> Privilege
> Security Administrator, Administrator
> Syntax
> [ no ] preferred slot slot#
> no
> Disables revertive or auto-recovery operation for the selected port.
> preferred slot slot#
> Identifies the physical chassis slot where the line card or SPIO card is installed.
> Usage
> This command enables or disables revertive port redundancy, wherein after a port failover, when the original port is restored to service (such as link up) the system will return service to that port automatically.
> Disabled, which is the default setting, causes non-revertive operation; requiring an administrative user to manually issue a port switch to command to return service to the original port.
> This command must be issued on a per port basis, allowing you to configure specific ports to be used on individual line or SPIO cards. For example, ports 1 through 4 could be configured as “preferred” on the LC in slot 17 while ports 5 through 8 are “preferred” on the LC in slot 33. In this scenario, both LCs would be in an Active operational state while still providing LC and port redundancy for the other.
> Important: This command is not supported on all platforms.
> Example
> preferred slot 17
> shutdown
> Terminates all processes supporting the port or blocks the shutting down of the port. Conversely, the port is enabled with the use of the no keyword.
> Product
> All
> Privilege
> Security Administrator, Administrator
> Syntax
> [ no ] shutdown
> no
> Enables the port and places it in service.
> Usage
> Shut down a port prior to re-cabling and/or other maintenance activities.
> This command is necessary to bring a port into service by enabling it via the no keyword.
> Example
> Use the following command to disable the port:
> shutdown
> Use the following command to enable the port for service:
> no shutdown
> snmp trap link-status
> Enables or disables the generation of an SNMP trap for link status changes.
> Product
> All
> Privilege
> Security Administrator, Administrator
> Syntax
> [ no ] snmp trap link-status
> no
> Disables the sending of traps for link status changes.
> Usage
> Enable link status change traps when a monitoring facility can use the information or if there are troubleshooting activities in progress.
> Example
> Use the following command to disable sending of traps:
> no snmp trap link-status
> srp virtual-mac-address
> Configures the Standby Router Protocol (SRP) virtual MAC address for the port.
> Product
> All
> Privilege
> Security Administrator, Administrator
> Syntax
> srp virtual-mac-address MAC_Address
> no srp virtual-mac-address
> no
> Disables the SRP virtual MAC addressing for Ethernet ports. The block of virtual MAC addresses is not saved.
> MAC_Address
> Enables SRP virtual addressing for the specified MAC address.
> Usage
> The SRP virtual MAC address is applied to the port when the chassis is in SRP ACTIVE state. The default is no srp virtual-mac-address.
> Important: This command is not supported on all platforms.
> Example
> Use the following command to enable the SRP’s virtual MAC addressing:
> srp virtual-mac-address MAC_Address
> threshold high-activity
> Configures thresholds for high port activity for the port.
> Product
> All
> Privilege
> Security Administrator, Administrator
> Syntax
> threshold high-activity high_thresh [ clear low_thresh ]
> high_thresh
> Specifies the high threshold high port activity percentage that must be met or exceeded within the polling interval to generate an alert or alarm. The percentage is expressed as an integer from 0 through 100. Default: 50
> clear
> Allows the configuration of the low threshold.
> low_thresh
> Specifies the low threshold high port activity percentage that maintains a previously generated alarm condition. If the activity percentage falls below the low threshold within the polling interval, a clear alarm will be generated. The percentage is expressed as an integer from 0 through 100. Default: 50
> Important: This value is ignored for the Alert model. In addition, if this value is not configured for the Alarm model, the system assumes it is identical to the high threshold.
> Usage
> High port activity thresholds generate alerts or alarms based on the utilization percentage of each configured port during the specified polling interval. This threshold is configured on a per-port basis.
> Alerts or alarms are triggered for high port activity based on the following rules:

> • | Enter condition: Actual percent utilization of a port is greater than High Threshold.

> • | Clear condition: Actual percent utilization of a port is less than Low Threshold.

> If a trigger condition occurs within the polling interval, the alert or alarm will not be generated until the end of the polling interval.
> Refer to the threshold poll command in the Global Configuration Mode Commands chapter to configure the polling interval and the threshold monitoring command in this chapter to enable thresholding for this value.
> Example
> The following command configures a high port utilization threshold percent of 70 and a low threshold percent of 50 for a system using the Alarm thresholding model:
> threshold high-activity 70 clear 50
> threshold monitoring
> Enables or disables thresholding for port-level values.
> Product
> All
> Privilege
> Security Administrator, Administrator
> Syntax
> [ no ] threshold monitoring
> no
> Disables threshold monitoring for port-level values. This is the default setting.
> Usage
> Thresholding on the system is used to monitor the system for conditions that could potentially cause errors or outage. Typically, these conditions are temporary (such as high-activity) and are quickly resolved. However, continuous or large numbers of these error conditions within a specific time interval may be indicative of larger, more severe issues. Thresholding helps identify potentially severe conditions so that immediate action can be taken to minimize and/or avoid system downtime.
> Thresholding reports conditions using one of the following mechanisms:

> • | SNMP traps: SNMP traps have been created that indicate the condition (high threshold crossing and/or clear) of each of the monitored values. Complete descriptions and other information pertaining to these traps is located in the starentMIB(8164).starentTraps(2) section of the SNMP MIB Reference. The generation of specific SNMP traps can be enabled or disabled on the system allowing you to view only those traps that are most important to you.

> • | Logs: The system provides a facility called threshold for which active and event logs can be generated. As with other system facilities, logs are generated Log messages pertaining to the condition of a monitored value are generated with a severity level of WARNING.

> • | Alarm System: High threshold alarms generated within the specified polling interval are considered “outstanding” until a the condition no longer exists and/or a condition clear alarm is generated.

> “Outstanding” alarms are reported to through the system’s alarm subsystem and are viewable through the system’s CLI.
> The following table indicates the reporting mechanisms supported by each of the above models.
> Thresholding Reporting Mechanisms by Model

> Model | SNMP Traps | Logs | Alarm System
> Alert | X | X |
> Alarm | X | X | X

> ‌
> This command enables thresholding for port-level values. Refer to the threshold high-activity, threshold rx-utilization, and threshold tx-utilization commands in this chapter for information on configuring these values. In addition, refer to the threshold poll command in the Global Configuration Mode Commands chapter for information on configuring the polling interval over which these values are monitored.
> threshold rx-utilization
> Configures thresholds for receive port utilization.
> Product
> All
> Privilege
> Security Administrator, Administrator
> Syntax
> threshold rx-utilization high_thresh [ clear low_thresh ]
> high_thresh
> Specifies the high threshold receive port utilization percentage that must be met or exceeded within the polling interval to generate an alert or alarm. The percentage is expressed as an integer from 0 through 100. Default: 80
> clear
> Allows the configuration of the low threshold.
> low_thresh
> Specifies the low threshold receive port utilization percentage that maintains a previously generated alarm condition. If the utilization percentage falls below the low threshold within the polling interval, a Clear Alarm will be generated. The percentage is expressed as an integer from 0 through 100. Default: 80
> Important: This value is ignored for the Alert model. In addition, if this value is not configured for the Alarm model, the system assumes it is identical to the high threshold.
> Usage
> Receive port utilization thresholds generate alerts or alarms based on the utilization percentage of each configured port in relation to data received during the specified polling interval. This threshold is configured on a per-port basis.
> Important: Ports configured for half-duplex do not differentiate between data received and data transmitted. Therefore, to avoid redundant alarms, it is recommended that only the receive or transmit utilization threshold be configured.
> Alerts or alarms are triggered for receive port utilization based on the following rules:

> • | Enter condition: Actual percent utilization of a port for received data is greater than High Threshold

> • | Clear condition: Actual percent utilization of a port for received data is less than Low Threshold

> If a trigger condition occurs within the polling interval, the alert or alarm will not be generated until the end of the polling interval.
> Refer to the threshold poll command in the Global Configuration Mode Commands chapter to configure the polling interval and the threshold monitoring command in this chapter to enable thresholding for this value.
> Example
> The following command configures a receive port high utilization threshold percent of 70 and a low threshold percent of 50 for an system using the Alarm thresholding model:
> threshold rx-utilization 70 clear 50
> threshold tx-utilization
> Configures thresholds for transmit port utilization.
> Product
> All
> Privilege
> Security Administrator, Administrator
> Syntax
> threshold tx-utilization high_thresh [ clear low_thresh ]
> high_thresh
> The high threshold transmit port utilization percentage that must be met or exceeded within the polling interval to generate an alert or alarm. The percentage is expressed as an integer from 0 through 100. Default: 80
> clear
> Allows the configuration of the low threshold.
> low_thresh
> The low threshold transmit port utilization percentage that maintains a previously generated alarm condition. If the utilization percentage falls below the low threshold within the polling interval, a clear alarm will be generated. The percentage is expressed as an integer from 0 through 100. Default: 80
> Important: This value is ignored for the Alert model. In addition, if this value is not configured for the Alarm model, the system assumes it is identical to the high threshold.
> Usage
> Transmit port utilization thresholds generate alerts or alarms based on the utilization percentage of each configured port in relation to data transmitted during the specified polling interval. This threshold is configured on a per-port basis.
> Important: Ports configured for half-duplex do not differentiate between data received and data transmitted. Therefore, to avoid redundant alarms, it is recommended that only the receive or transmit utilization threshold be configured.
> Alerts or alarms are triggered for transmit port utilization based on the following rules:

> • | Enter condition: Actual percent utilization of a port for transmit data is greater than High Threshold

> • | Clear condition: Actual percent utilization of a port for transmit data is less than Low Threshold

> If a trigger condition occurs within the polling interval, the alert or alarm will not be generated until the end of the polling interval.
> Refer to the threshold poll command in the Global Configuration Mode Commands chapter to configure the polling interval and the threshold monitoring command in this chapter to enable thresholding for this value.
> Example
> The following command configures a transmit port high utilization threshold percent of 70 and a low threshold of 50 for an system using the Alarm thresholding model:
> threshold tx-utilization 70 clear 50
> vlan
> Creates or deletes a VLAN tag and enters VLAN Configuration mode.
> Product
> All
> Privilege
> Security Administrator, Administrator
> Syntax
> vlan tag [ inline-process ] [ subscriber-vlan ] [ -noconfirm ]
> no vlan tag
> no
> Deletes the VLAN with the specified tag.
> tag
> Specifies a tag that identifies the VLAN an integer from 1 through 4095. The tag must be unique and not used by any other VLANs on any other ports in the system.
> inline-process
> Do not use this restricted keyword. It sets this VLAN for special processing for packets received from an external inline server.
> subscriber-vlan
> Designates the VLAN type as a subscriber VLAN. This keyword must be specified if the VLAN is to be associated with specific subscribers. Refer to the ip vlan command in the Subscriber Configuration Mode chapter of this reference for additional information on Subscriber-VLAN associations.
> Important: To maintain optimal performance, this keyword should not be specified for VLANs that are not to be associated with subscribers.
> -noconfirm
> Executes the command without any additional prompt and confirmation from the user.
> Usage
> Virtual LANs (VLANs) provide greater flexibility in the configuration and use of contexts and services.
> They are configured as “tags” on a per-port basis and allow more complex configurations to be implemented. The VLAN tag allows a single physical port to be bound to multiple logical interfaces that can be configured in different contexts. Therefore, each Ethernet port can be viewed as containing many logical ports when VLAN tags are employed.
> Important: VLANs are supported in conjunction with ports on the Ethernet 10/100 and Ethernet 1000 line cards, as well as on the four-port Quad Gig-E Line Card (QGLC) and the single port 10 GigE Line Card (XGLC). (VLAN tagging is not supported for SPIO ports.) The system supports the configuration of VLANs as follows:
> Important: Ethernet 1000 Line Card/QGLC: 1024 VLANs per card. QGLC supports 511 VLANs per port.
> Important: Ethernet 10/100 Line Card: Maximum of 256 VLANs per port and a maximum of 1016 VLANs per Line Card. (VLANs on all the ports of a single 10/100 Line Card can not add up to more than 1016.)
> Important: In order to change the type (using/removing the subscriber-vlan keyword) for VLANs that are already configured, the VLAN must first be deleted and then reconfigured as desired.
> Example
> The following example creates a VLAN and assign it the tag of 100:
> vlan 100

Cisco Systems Inc.
Tel: 408-526-4000
Fax: 408-527-0883