[an error occurred while processing this directive]

Cisco Services Modules

Software Configuration Guide for the Cisco 6-port GE SFP Service Module

 Feedback

Table Of Contents

Software Configuration Guide for the Cisco 6-port GE SFP Service Module

Contents

About the SM-X-6X1G Modules

Service Module LEDs

Requirements for the Cisco SM-X-6X1G

Restrictions

Configuring the Cisco SM-X-6X1G

Required Configuration Tasks

Specifying the Interface Address on a SM

Modifying the MAC Address on an Interface

Verifying a MAC Address

Configuring the Hot Standby Router Protocol

Verifying HSRP

Modifying the Interface MTU Size

Interface MTU Configuration Guidelines

Interface MTU Configuration Task

Verifying the MTU Size

Ingress QoS Classification for IPv4 and IPv6

Configuring the Encapsulation Type

Configuring Autonegotiation on an Interface

Enabling Autonegotiation

Disabling Autonegotiation

Configuring Speed and Duplex

Configuring the Media Type

Configuring a Subinterface on a VLAN

VLAN Classification

Addition of Warning Message when Enabling VLAN Scale Configuration

Verifying Subinterface Configuration on a VLAN

Saving the Configuration

Shutting Down and Restarting an Interface on a SM

Configuring Ethernet Flow Control

Verifying the Interface Configuration

Verifying Per-Port Interface Status

Verifying Configuration and Classification Counters on an Interface

Using show Commands to Check SFP Module Status

Configuration Examples

Basic Interface Configuration

MAC Address Configuration

MTU Configuration

VLAN Configuration

Additional References

Related Documents

MIBs

Technical Assistance


Software Configuration Guide for the Cisco 6-port GE SFP Service Module


Last Updated: December 5, 2013
OL-30170-01  

Contents

About the SM-X-6X1G Modules

Service Module LEDs

Requirements for the Cisco SM-X-6X1G

Restrictions

Configuring the Cisco SM-X-6X1G

Verifying the Interface Configuration

Using show Commands to Check SFP Module Status

Configuration Examples

Additional References

About the SM-X-6X1G Modules

The Cisco 6-port GE SFP Service Modules are software-configurable high-speed connectivity routing port service modules for the Cisco 4451-X Integrated Services Router (Cisco ISR 4451-X). These service modules provide increased density of ethernet interfaces on the Cisco ISR 4451-X and offer the following SKU:

SM-X-6x1GE—6 port GE SFP Service Module

The SM-X-6X1G is a multi gigabit ethernet service module for the Cisco 4451-X Integrated Services Routers (Cisco ISR 4451-X).

The SM-X-6X1G provides six 1 GB ethernet routing ports.

The SM-X-6X1G include the following features:

Front panel Gigabit Ethernet port

Up to 6 external ethernet interfaces

Online insertion and removal (OIR) support

MAC filtering

Flow control

Port statistics

Support for third party SFPs

Support for VLAN

Support for ingress Quality of Service (QoS)

Figure 1-1 shows the faceplate of the Cisco SM-X-6X1G service module.

Figure 1-1 Cisco SM-X-6X1G Service Module

1. Screws

3. LEDs

2. GE Ports

 

Service Module LEDs

The SM-X-6X1G enhanced service module includes several indicator LEDs. Figure 1-3 and Figure 1-3 show the LEDs available on the service module. Table 1 describes the LEDs on the SM-X-6X1G.

Figure 1-2

SM-X-6X1G LEDs

Figure 1-3

SM-X-6X1G LEDs

Table 1 SM-X-6X1G Service Module LEDs

LED
Color
Description

EN

Solid Green

The module is powered on and is functioning correctly.

Solid Amber

Module has some failure

Off

Default when module is powered on for the first time. Persistent until changed by the host software.

10/100/1000 GigE link status

Off

No link.

Solid green

Ethernet cable present and link established with the other side.

10/100/1000 GigE link speed

Off

No link.

Blinking

Blink frequency indicates port speed:

1 blink—10 Mbps

2 blinks—100 Mbps

3 blinks—1000 Mbps

SFP Link Speed LED

Off

No link.

Blinking

Blink frequency indicates port speed:

1 blink—10 Mbps

2 blinks—100 Mbps

3 blinks—1000 Mbps

SFP+ LNK/ACT LED

Off

No link activity

Green

Link is stable with no activity.

Amber

Active media type is SFP, but SFP type is not valid or there is an error in the SFP.

SFP Enable LED

Off

One of the following:

Active media type is not SFP

Active media type is SFP but SFP is not present

Solid green

Active media type is SFP, SFP type is valid, and there is no error in the SFP.

Blinking green

Link is stable with activity (constant blinking).


Requirements for the Cisco SM-X-6X1G

Cisco IOS/IOS XE Requirements

Table 2 describes Cisco IOS/IOS XE requirements for operating the Cisco SM-X-6X1G.

Table 2 Cisco IOS/IOS XE Requirements 

Supported Platform
IOS/IOS XE release

Cisco ISR 4451-X routers

Cisco IOS XE release 3.11 or later


Memory Requirements

Table 3 describes the minimum platform memory recommended for operating the Cisco SM-X-6X1G.

Table 3 Cisco SM-X-6X1G Minimum Memory Requirements 

Supported Platforms
Flash Memory

Cisco ISR 4451-X routers

8 Mb


Finding Support Information for Platforms and Cisco IOS Software Images

Your software release may not support all the features documented in this module. For the latest feature information and caveats, see the release notes for your platform and software release. Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required.

Restrictions

The following are the restrictions with the use of the Cisco SM-X-6X1G service modules:

The Cisco SM-X-6X1G does not support different classification rules for IPv4 and IPv6. The same rules will apply to both.

802.1Q and IPv4/IPv6 classification cannot be enabled on a port at the same time.

Configuring the Cisco SM-X-6X1G

This section describes how to configure the Cisco SM-X-6X1G and includes information about verifying the configuration.

This section includes the following topics:

Required Configuration Tasks

Specifying the Interface Address on a SM

Modifying the MAC Address on an Interface

Configuring the Hot Standby Router Protocol

Configuring the Hot Standby Router Protocol

Modifying the Interface MTU Size

Ingress QoS Classification for IPv4 and IPv6

Configuring the Encapsulation Type

Configuring Autonegotiation on an Interface

Configuring a Subinterface on a VLAN

VLAN Classification

Saving the Configuration

Shutting Down and Restarting an Interface on a SM

Required Configuration Tasks

This section lists the required configuration steps to configure the Cisco SM-X-6X1G. Some of the required configuration commands implement default values that might be appropriate for your network. If the default value is correct for your network, then you do not need to configure the command. These commands are indicated by "(As Required)" in the Purpose column.

To configure the Cisco SM-X-6X1G, complete the following steps:

 
Command
Purpose

Step 1 

Router# configure terminal

Enters global configuration mode.

Step 2 

Router(config)# interface GigabitEthernet slot/subslot/port[.subinterface-number]

or

Router(config)# interface TenGigabitEthernet slot/subslot/port[.subinterface-number]

Specifies the Gigabit Ethernet, or Ten Gigabit Ethernet interface to configure, where:

slot/subslot/port—Specifies the location of the interface. See the "Specifying the Interface Address on a SM" section.

.subinterface-number—(Optional) Specifies a secondary interface (subinterface) number.

Step 3 

Router(config-if)# ip address [ip-address mask {secondary} | dhcp {client-id interface-name}{hostname host-name}]

Sets a primary or secondary IP address for an interface that is using IPv4, where:

ip-address—Specifies the IP address for the interface.

mask—Specifies the mask for the associated IP subnet.

secondary—(Optional) Specifies that the configured address is a secondary IP address. If this keyword is omitted, the configured address is the primary IP address.

dhcp—Specifies that IP addresses will be assigned dynamically using DHCP.

client-id interface-name—Specifies the client identifier. The interface-name sets the client identifier to the hexadecimal MAC address of the named interface.

hostname host-name—Specifies the hostname for the DHCP purposes. The host-name is the name of the host to be placed in the DHCP option 12 field.

Step 4 

Router(config-if)# mtu bytes

(As Required) Specifies the maximum packet size for an interface, where:

bytes—Specifies the maximum number of bytes for a packet.

The default is 1500 bytes; the range is 1500 to 9216.

Step 5 

Router(config-if)# standby [group-number] ip [ip-address [secondary]]

(Required for HSRP Configuration Only) Creates (or enables) the HSRP group using its number and virtual IP address, where:

(Optional) group-number—Specifies the group number on the interface for which HSRP is being enabled. The range is 0 to 255; the default is 0. If there is only one HSRP group, you do not need to enter a group number.

(Optional on all but one interface if configuring HSRP) ip-address—Specifies the virtual IP address of the hot standby router interface. You must enter the virtual IP address for at least one of the interfaces; it can be learned on the other interfaces.

(Optional) secondary—Specifies the IP address is a secondary hot standby router interface. If neither router is designated as a secondary or standby router and no priorities are set, the primary IP addresses are compared and the higher IP address is the active router, with the next highest as the standby router.

This command enables HSRP but does not configure it further. For additional information on configuring HSRP, refer to the HSRP section of the Cisco IP Configuration Guide publication that corresponds to your Cisco IOS software release.

Step 6 

Router(config-if)# no shutdown

Enables the interface.

Specifying the Interface Address on a SM

SM interface ports begin numbering with "0" from left to right. Single-port SMs use only the port number 0. To configure or monitor SM interfaces, you need to specify the physical location of the SM, and interface in the CLI. The interface address format is slot/subslot/port, where:

slot—Specifies the chassis slot number in the Cisco ISR 4451-X where the SIP is installed.

subslot—Specifies the slot of the SIP where the SM is installed.

port—Specifies the number of the individual interface port on a SM.

The following example shows how to specify the first interface (0) on a SM installed in the first subslot of a SIP (0) installed in chassis slot 1:

Router(config)# interface GigabitEthernet 1/0/0
interface GigabitEthernet1/0/0
no ip address
shutdown
negotiation auto
no cdp enable

Modifying the MAC Address on an Interface

The Cisco SM-X-6X1G use a default MAC address for each port that is derived from the base address that is stored in the electrically erasable programmable read-only memory (EEPROM) on the backplane of the Cisco ISR 4451-X.

To modify the default MAC address of an interface to some user-defined address, use the following command in interface configuration mode:

Command
Purpose

Router(config-if)# mac-address ieee-address

Modifies the default MAC address of an interface to some user-defined address, where:

ieee-address—Specifies the 48-bit Institute of Electrical and Electronics Engineers (IEEE) MAC address written as a dotted triple of four-digit hexadecimal numbers (xxxx.yyyy.zzzz).


To return to the default MAC address on the interface, use the no form of the command.

Verifying a MAC Address

To verify the MAC address of an interface, use the show interfaces gigabitethernet privileged EXEC command and observe the value shown in the "address is" field.

The following example shows that the MAC address is a44c.119e.0884 (bia a44c.119e.0884) for interface 2 on the SM installed in subslot 0 of the SIP installed in slot 0 of the Cisco ISR 4451-X:

router#show interface gigabitEthernet 1/0/0
GigabitEthernet1/0/0 is up, line protocol is up
  Hardware is SM-X-6X1G, address is a44c.119e.0884 (bia a44c.119e.0884)
  Internet address is 3.0.0.1/24
  MTU 1500 bytes, BW 100000 Kbit/sec, DLY 100 usec,
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation ARPA, loopback not set
  Keepalive not supported
  Half Duplex, 100Mbps, link type is force-up, media type is RJ45
  output flow-control is on, input flow-control is on
  ARP type: ARPA, ARP Timeout 04:00:00
  Last input never, output 00:00:55, output hang never
  Last clearing of "show interface" counters never
  Input queue: 0/375/0/0 (size/max/drops/flushes); Total output drops: 440722919
  Queueing strategy: fifo
  Output queue: 0/40 (size/max)
  5 minute input rate 0 bits/sec, 0 packets/sec
  5 minute output rate 0 bits/sec, 0 packets/sec
(Additional output removed for readability)

Configuring the Hot Standby Router Protocol

The Hot Standby Router Protocol (HSRP) provides high network availability because it routes IP traffic from hosts without relying on the availability of any single router. HSRP is used in a group of routers for selecting an active router and a standby router. (An active router is the router of choice for routing packets; a standby router is a router that takes over the routing duties when an active router fails, or when preset conditions are met).

HSRP is enabled on an interface by entering the standby [group-number] ip [ip-address [secondary]] command. The standby command is also used to configure various HSRP elements. This document does not discuss more complex HSRP configurations. For additional information on configuring HSRP, refer to the HSRP section of the Cisco IP Configuration Guide publication that corresponds to your Cisco IOS XE software release. In the following HSRP configuration, standby group 2 on Gigabit Ethernet port 2/1/0 is configured at a priority of 110 and is also configured to have a preemptive delay should a switchover to this port occur:

Router(config)# interface GigabitEthernet 2/0/x
Router(config-if)# standby 2 ip 120.12.1.200
Router(config-if)# standby 2 priority 110
Router(config-if)# standby 2 preempt

Verifying HSRP

To verify the HSRP information, use the show standby command in EXEC mode:

Router# show standby
Ethernet0 - Group 0 
Local state is Active, priority 100, may preempt 
Hellotime 3 holdtime 10 
Next hello sent in 0:00:00 
Hot standby IP address is 198.92.72.29 configured 
Active router is local 
Standby router is 198.92.72.21 expires in 0:00:07 
Standby virtual mac address is 0000.0c07.ac00 
Tracking interface states for 2 interfaces, 2 up: 
UpSerial0 
UpSerial1 

Modifying the Interface MTU Size

The Cisco IOS software supports three different types of configurable maximum transmission unit (MTU) options at different levels of the protocol stack:

Interface MTU—Checked by the SM on traffic coming in from the network. Different interface types support different interface MTU sizes and defaults. The interface MTU defines the maximum packet size allowable (in bytes) for an interface before drops occur. If the frame is smaller than the interface MTU size, but is not smaller than the minimum frame size for the interface type (such as 64 bytes for Ethernet), then the frame continues to process.

IP MTU—Can be configured on an interface or subinterface. If an IP packet exceeds the IP MTU size, then the packet is fragmented.

Tag or Multiprotocol Label Switching (MPLS) MTU—Can be configured on an interface or subinterface and allows up to six different labels, or tag headers, to be attached to a packet. The maximum number of labels is dependent on your Cisco IOS software release.

Different encapsulation methods and the number of MPLS MTU labels add additional overhead to a packet. For example, Subnetwork Access Protocol (SNAP) encapsulation adds an 8-byte header, dot1q encapsulation adds a 2-byte header, and each MPLS label adds a 4-byte header (n labels x 4 bytes).

For Cisco SM-X-6X1G on the Cisco ISR 4451-X, the default MTU size is 1500 bytes. The maximum configurable MTU is 9216 bytes. The SM automatically adds an additional 22 bytes to the configured MTU size to accommodate some of the additional overhead.


Note In the Cisco ISR-4451-X, 2RU and 2RU-Fixed chassis, the MTU size for the Management Ethernet interface (interface gigabitethernet 0) is limited to 4470 bytes.


Interface MTU Configuration Guidelines

When configuring the interface MTU size on a Gigabit Ethernet SM on a Cisco ISR 4451-X, consider the following guidelines:

The default interface MTU size accommodates a 1500-byte packet, plus 22 additional bytes to cover the following additional overhead:

Layer 2 header—14 bytes

Dot1q header—4 bytes

CRC—4 bytes

If you are using MPLS, be sure that the mpls mtu command is configured for a value less than or equal to the interface MTU.

If you are using MPLS labels, then you should increase the default interface MTU size to accommodate the number of MPLS labels. Each MPLS label adds 4 bytes of overhead to a packet.

Interface MTU Configuration Task

To modify the MTU size on an interface, use the following command in interface configuration mode:

Command
Purpose

Router(config-if)# mtu bytes

Configures the maximum packet size for an interface, where:

bytes—Specifies the maximum number of bytes for a packet.

The default is 1500 bytes and the maximum configurable MTU is 9216 bytes.


To return to the default MTU size, use the no form of the command.

Verifying the MTU Size

To verify the MTU size for an interface, use the show interfaces gigabitethernet privileged EXEC command and observe the value shown in the "MTU" field.

The following example shows an MTU size of 1500 bytes for interface port 0 on the Gigabit Ethernet SM installed in the top subslot (0) of the SIP that is located in slot 2 of the Cisco ISR 4451-X:

router#show interface gigabitEthernet 2/0/2
GigabitEthernet2/0/2 is up, line protocol is up
  Hardware is SM-X-6X1G, address is a44c.119e.0884 (bia a44c.119e.0884)
  Internet address is 3.0.0.1/24
  MTU 1500 bytes, BW 100000 Kbit/sec, DLY 100 usec,
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation ARPA, loopback not set
  Keepalive not supported
  Half Duplex, 100Mbps, link type is force-up, media type is RJ45
  output flow-control is on, input flow-control is on
  ARP type: ARPA, ARP Timeout 04:00:00
  Last input never, output 00:00:55, output hang never
  Last clearing of "show interface" counters never
  Input queue: 0/375/0/0 (size/max/drops/flushes); Total output drops: 440722919
  Queueing strategy: fifo
  Output queue: 0/40 (size/max)
  5 minute input rate 0 bits/sec, 0 packets/sec
  5 minute output rate 0 bits/sec, 0 packets/sec
     557663005 packets input, 33459780300 bytes, 0 no buffer
     Received 0 broadcasts (0 IP multicasts)
     0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
     0 watchdog, 0 multicast, 0 pause input
     451428325 packets output, 27800558158 bytes, 0 underruns
     0 output errors, 0 collisions, 7 interface resets
     0 unknown protocol drops
     0 babbles, 0 late collision, 0 deferred
     0 lost carrier, 0 no carrier, 0 pause output
     0 output buffer failures, 0 output buffers swapped out

Ingress QoS Classification for IPv4 and IPv6

The SM-X-6X1G module support two priority queues per port on ingress. The high-priority queue is always processed before the low-priority queue.

Restrictions

The SM-X-6X1G supports IPv4/IPv6 classification rules on three of the external ports. 802.IQ based classification is supported on all ports.

By default, ingress QoS classification is disabled.

The SM-X-6X1G modules do not support different classification rules for IPv4 and IPv6. The same rules apply to both.

IPv4/IPv6-based classification and 802.1Q-based classification are mutually exclusive.


Note Ingress IPv4/IPv6 classification is supported on any three of the service module ports. If the following commands are entered in the fourth port, an error message appears.


Use the following commands in interface configuration mode to configure ingress QoS classification for IPv4/IPv6:

Command
Purpose

Router(config-if)# plim qos input map ipv4v6 qos-value-based

Enables IPv4/IPv6 qos-based classification.

The no form of this command disables all IPv4/IPv6 classification.

By default, without using this command, qos-based classification is disabled on every interface.

Router(config-if)# plim qos input map ipv6 qos-value <qos-value | qos-range> queue <strict-priority | 0>

Allows you to specify which IPv4/IPv6 QoS value or range to choose for high priority (strict priority) or low priority (queue 0).

qos-value | qos-range—Specifies the value of QoS. You can specify a range of values separated by a dash or a list of values.

queue—Specifies the high priority queue (strict priority). Enter 0 for the low priority queue.

The no form of this command will map the QoS value to its default queue if you have entered plim qos input map ipv4v6 qos-value-based.


Note By default, without using this command after enabling IPv4/IPv6 qos-based classification (entered 'plim qos input map ipv4v6 qos-value-based'), the interface classifies DSCP cs6, cs7 and ef as high priority.



Configuring the Encapsulation Type

By default, the interfaces on the Cisco SM-X-6X1G support Advanced Research Projects Agency (ARPA) encapsulation. They do not support configuration of service access point or SNAP encapsulation for transmission of frames.

The only other encapsulation supported by the SM interfaces is IEEE 802.1Q encapsulation for virtual LANs (VLANs).

Configuring Autonegotiation on an Interface

The Gigabit Ethernet interfaces use a connection-setup algorithm called autonegotiation. Autonegotiation allows the local and remote devices to configure compatible settings for communication over the link. Using autonegotiation, each device advertises its transmission capabilities and then agrees upon the settings to be used for the link.

For the Gigabit Ethernet interfaces on the Cisco ISR 4451-X, flow control is autonegotiated when autonegotiation is enabled. Autonegotiation is enabled by default.

The following guidelines should be followed regarding autonegotiation:

If autonegotiation is disabled on one end of a link, it must be disabled on the other end of the link. If one end of a link has autonegotiation disabled while the other end of the link does not, the link will not come up properly on both ends.

Flow control is enabled by default.

Flow control will be on if autonegotiation is disabled on both ends of the link.

Enabling Autonegotiation

To re-enable autonegotiation on a Gigabit Ethernet interface, use the following command in interface configuration mode:

Command
Purpose

Router(config-if)# negotiation auto

Enables autonegotiation on a Gigabit Ethernet SM interface on the Cisco ISR 4451-X routers. Advertisement of flow control occurs.


Disabling Autonegotiation

Autonegotiation is automatically enabled and can be disabled on the Gigabit Ethernet interfaces on the Cisco ISR 4451-X routers. During autonegotiation, advertisement for flow control, speed, and duplex occurs, depending on the media (fiber or copper) in use. If the interface is connected to a link that has autonegotiation disabled, autonegotiation should either be re-enabled on the other end of the link or disabled on the Gigabit Ethernet SM, if possible. Both ends of the link will not come up properly if only one end of the link has disabled autonegotiation.

Speed and duplex configurations can be advertised using autonegotiation. However, the only values that are negotiated are:

For Cisco SM-X-6X1G using RJ-45 copper interfaces—1000 Mbps for speed and full-duplex mode. Link speed is not negotiated when using fiber interfaces.

From a user's perspective, these settings are not really negotiated, but rather are enabled using autonegotiation. The SFPs for Cisco SM-X-6X1G support 1000Base-X, and the IEEE 1000Base-X standard for fiber does not support negotiation of link speed.

To disable autonegotiation, use the following command in interface configuration mode:

Command
Purpose

Router(config-if)# no negotiation auto

Disables autonegotiation on Gigabit Ethernet SM interfaces on the Cisco ISR 4451-X routers. No advertisement of flow control occurs.


Configuring Speed and Duplex


Note If the media-type is RJ45, after disabling "negotiation auto", speed can be manually configured to 10Mbps, 100Mbps or 1000Mbps while duplex can be manually configured to full or half duplex. Please note that both ends of the copper link must have the same speed and duplex mode configured, otherwise unexpected failure may occur.
If the media-type is SFP, after disabling "negotiation auto", some SFPs allow you to configure duplex mode (half or full) but the speed cannot be manually changed.
For SFP+, speed- and duplex-related CLIs are not available and cannot be manually configured..


To configure the speed for a Gigabit Ethernet interface, use the speed command in interface configuration mode. To return to the default setting, use the no form of this command:

Command
Purpose

Router(config-if)# speed {10 | 100 | 1000}

Configures the interface to transmit at 10 Mbps, 100 Mbps, or 1000 Mbps. (The 1000 keyword is only valid for Gigabit Ethernet.)


To configure duplex operation on an interface, use the duplex command in interface configuration mode. Use the no form of this command to return to the default value.

Command
Purpose

Router(config-if)# duplex {full | half}

Specifies full- or half-duplex operation.


Configuring the Media Type

The Gigabit Ethernet SMs support two media types: RJ-45 and SFP. Use the media-type configuration command to select either the RJ-45 or SFP for a given port.

Command
Purpose

Router(config-if)# media-type { rj45 | sfp}

Specifies the physical connection on an interface.


Configuring a Subinterface on a VLAN

You can configure subinterfaces on the Gigabit Ethernet SM interfaces on a VLAN using IEEE 802.1Q encapsulation. Cisco Discovery Protocol (CDP) is disabled by default on the Gigabit Ethernet SM interfaces and subinterfaces on the Cisco ISR 4451-X routers.

To configure a SM interface on a VLAN, use the following commands beginning in global configuration mode:

 
Command
Purpose

Step 1 

Router(config)# interface gigabitethernet slot/subslot/port.subinterface-number

or

Router(config)# interface tengigabitethernet slot/subslot/port.subinterface-number

Specifies the Gigabit Ethernet interface to configure, where:

slot/subslot/port—Specifies the location of the interface. See the "Specifying the Interface Address on a SM" section.

.subinterface-number—Specifies a secondary interface (subinterface) number.

Step 2 

Router(config-subif)# encapsulation dot1q vlan-id

Defines the encapsulation format as IEEE 802.1Q ("dot1q"), where vlan-id is the number of the VLAN (1-4094).

Step 3 

Router(config-if)# ip address ip-address mask [secondary]

Sets a primary or secondary IP address for an interface, where:

ip-address—Specifies the IP address for the interface.

mask—Specifies the mask for the associated IP subnet.

secondary—(Optional) Specifies that the configured address is a secondary IP address. If this keyword is omitted, the configured address is the primary IP address.

VLAN Classification

Addition of Warning Message when Enabling VLAN Scale Configuration

To specify VLAN classification, use the following commands in physical router configuration mode:

Command
Purpose

Router (config) # plim qos input map cos enable

Enables packet classification based on 802.1q VLAN COS bits.

The no form of this command totally disables the COS classification.

Note By default, without using this command, COS classification is disabled on every interface.

Router (config) # plim qos input map cos <cos-value | cos-range> queue strict priority | 0

Allows the user to specify a specific COS value or range for high priority or low priority (0).

By default, without this command, COS value 6-7 is classified as high priority after COS classification is enabled.

The no form of this command removes cos value or range specified for high priority or low priority queue accordingly.

This command is only supported by the main physical interface.

Note This command will apply to all vlans configured on this main interface

Router (config) # plim qos input weight <weight>

Specifies the weight value for excess scheduling on low priority traffic.

The no form of this command sets the scheduling parameters to the default values.

Note The default value is 8.

Router (config) # plim qos input policer bandwidth <value in kbps> strict-priority

Sets the maximum bandwidth for high priority traffic from that interface. The traffic exceeding the configured limit will be tail-dropped.


Verifying Subinterface Configuration on a VLAN

To verify the configuration of a subinterface and its status on the VLAN, use the show vlans privileged EXEC command.

The following example shows the status of subinterface number 1 on port 0 on the SM in VLAN number 200:

Router# show vlans
VLAN ID:200 (IEEE 802.1Q Encapsulation)
Protocols Configured:         Received:       Transmitted:
          IP                  0                  2
VLAN trunk interfaces for VLAN ID 200:
GigabitEthernet1/0/0.1 (200)
      IP:12.200.21.21
      Total 0 packets, 0 bytes input
      Total 2 packets, 120 bytes output

Saving the Configuration

To save your running configuration to nonvolatile random-access memory (NVRAM), use the following command in privileged EXEC configuration mode:

Command
Purpose

Router# copy running-config startup-config

Writes the new configuration to NVRAM.


For information about managing your system image and configuration files, refer to the Cisco IOS Configuration Fundamentals Configuration Guide and Cisco IOS Configuration Fundamentals Command Reference publications that correspond to your Cisco IOS software release.

Shutting Down and Restarting an Interface on a SM

You can shut down and restart any of the interface ports on a SM independently of each other. Shutting down an interface stops traffic and enters the interface into an "administratively down" state.

There are no restrictions for online insertion and removal (OIR) on Cisco SM-X-6X1G. Cisco SM-X-6X1G can be removed from a SIP at any time. SIPs populated with any type of SMs can be removed from the router at any time.

If you are preparing for an OIR of a SM, it is not necessary to independently shut down each of the interfaces prior to deactivation of the SM. The hw-module subslot stop command automatically stops traffic on the interfaces and deactivates them along with the SM in preparation for OIR.

In similar fashion, you do not need to independently restart any interfaces on a SM after OIR of a SM or SIP.

To shut down an interface on a SM, use the following command in interface configuration mode:

Command
Purpose

Router(config-if)# shutdown

Disables an interface.


To restart an interface on a SM, use the following command in interface configuration mode:

Command
Purpose

Router(config-if)# no shutdown

Restarts a disabled interface.


Configuring Ethernet Flow Control

To configure ethernet flow control per queue per port, use the following commands in the interface configuration mode:

Command
Purpose

Router(config-if)# plim qos input queue < strict priority | 0 > pause enable

Enables ethernet flow control pause frame generation on a queue.

By default pause is enabled on both the high priority and low priority queues.

Note When you enable ingress classification rules, it is recommended that you disable pause on the low priority queue.

Router(config-if)# plim qos input queue < strict priority | 0 > pause threshold <20-99>

Sets the threshold for pause frame generation.

The default value is 90.

Note The minimum threshold value accepted by the SM-X-6X1G is 20. If threshold is set to a number less than 20, the module will use 20. The configurable minimum threshold is 20 percent.


Verifying the Interface Configuration

Besides using the show running-configuration command to display your Cisco ISR 4451-X configuration settings, you can use the show interfaces gigabitethernet command to get detailed information on a per-port basis for your Cisco SM-X-6X1G.

Verifying Per-Port Interface Status

To find detailed interface information on a per-port basis for the Cisco SM-X-6X1G, use the show interfaces gigabitethernet command.

The following example provides sample output for interface port 0 on the SM located in the top subslot (0) of the SIP that is installed in slot 2 of the Cisco ISR 4451-X:

router#show interface gigabitEthernet 2/0/0
GigabitEthernet2/0/0 is up, line protocol is up
  Hardware is SM-X-6X1G, address is a44c.119e.0884 (bia a44c.119e.0884)
  Internet address is 3.0.0.1/24
  MTU 1500 bytes, BW 100000 Kbit/sec, DLY 100 usec,
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation ARPA, loopback not set
  Keepalive not supported
  Half Duplex, 100Mbps, link type is force-up, media type is RJ45
  output flow-control is on, input flow-control is on
  ARP type: ARPA, ARP Timeout 04:00:00
  Last input never, output 00:00:55, output hang never
  Last clearing of "show interface" counters never
  Input queue: 0/375/0/0 (size/max/drops/flushes); Total output drops: 440722919
  Queueing strategy: fifo
  Output queue: 0/40 (size/max)
  5 minute input rate 0 bits/sec, 0 packets/sec
  5 minute output rate 0 bits/sec, 0 packets/sec
     557663005 packets input, 33459780300 bytes, 0 no buffer
     Received 0 broadcasts (0 IP multicasts)
     0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
     0 watchdog, 0 multicast, 0 pause input
     451428325 packets output, 27800558158 bytes, 0 underruns
     0 output errors, 0 collisions, 7 interface resets
     0 unknown protocol drops
     0 babbles, 0 late collision, 0 deferred
     0 lost carrier, 0 no carrier, 0 pause output
     0 output buffer failures, 0 output buffers swapped out

Verifying Configuration and Classification Counters on an Interface

Use the following show commands to verify the configuration and classification counters on an interface:

Command
Purpose

Router(config)# show platform hardware interface <interface-name> plim qos input map

Displays the ingress QoS classification rule for a given interface.

Router(config)# show platform hardware subslot <slot> / <sublsot> module interface <if_name> input qos counters

Displays the input classification counters applied from ingress classification rule of a given interface. This command shows input packet numbers and bytes that have been classified to high priority or low priority queues.

Router(config)# show platform hardware interface <slot/subslot/port/> plim qos input bandwidth

Displays the configured bandwidth of the high-priority traffic and excess scheduling of low priority traffic of a given interface.


Using show Commands to Check SFP Module Status

You can use various show commands to view information specific to SFP and SFP+ optical transceiver modules.

To check or verify the status of an SFP Module or SFP+ Module, use the following show commands:

show hw-module subslot slot/subslot transceiver port idprom

show hw-module subslot slot/subslot transceiver port idprom detail

show hw-module subslot slot/subslot transceiver port idprom brief

show hw-module subslot slot/subslot transceiver port idprom dump

show hw-module subslot slot/subslot transceiver port idprom status

Following are sample output of several show commands for SFP Modules and SFP+ Modules.

The following show hw-module subslot command sample output is for SFP-GE-S:

Router# show hw-module subslot 2/0 transceiver 0 idprom
IDPROM for transceiver GigabitEthernet2/0/0: 
Description = SFP optics (type 3) 
Transceiver Type: = GE SX (19) 
Product Identifier (PID) = FTRJ8519P1BNL-C6 
Vendor Revision = A 
Serial Number (SN) = FNS1037R8DH 
Vendor Name = CISCO-FINISAR 
Vendor OUI (IEEE company ID) = 00.90.65 (36965) 
CLEI code = IPUIALJRAA 
Cisco part number = 10-2143-01 
Device State = Enabled. 
Date code (yy/mm/dd) = 06/09/14 
Connector type = LC. 
Encoding = 8B10B 
NRZ 
Nominal bitrate = GE (1300 Mbits/s) 
Minimum bit rate as % of nominal bit rate = not specified 
Maximum bit rate as % of nominal bit rate = not specified

The following show hw-module subslot command sample output is for SFP-GE-SX:

Router# show hw-module subslot 2/0 transceiver 0 idprom dump 
IDPROM for transceiver GigabitEthernet2/0/0: 
Description = SFP optics (type 3) 
Transceiver Type: = GE SX (19) 
Product Identifier (PID) = FTRJ8519P1BNL-C6 
Vendor Revision = A 
Serial Number (SN) = FNS1037R8DH 
Vendor Name = CISCO-FINISAR 
Vendor OUI (IEEE company ID) = 00.90.65 (36965) 
CLEI code = IPUIALJRAA 
Cisco part number = 10-2143-01 
Device State = Enabled. 
SFP IDPROM Page 0xA0: 
000: 03 04 07 00 00 00 01 00 00 00 
010: 00 01 0D 00 00 00 37 1B 00 00 
020: 43 49 53 43 4F 2D 46 49 4E 49 
030: 53 41 52 20 20 20 00 00 90 65 
040: 46 54 52 4A 38 35 31 39 50 31 
050: 42 4E 4C 2D 43 36 41 20 20 20 
060: 03 52 00 74 00 1A 00 00 46 4E 
070: 53 31 30 33 37 52 38 44 48 20 
080: 20 20 20 20 30 36 30 39 31 34 
090: 20 20 58 80 01 
SFP IDPROM Page 0xA2: 
000: 6D 00 E3 00 67 00 F3 00 98 58 
010: 69 78 90 88 71 48 1D 4C 01 F4 
020: 17 70 03 E8 25 19 02 F5 25 19 
030: 04 A9 E3 EE 01 DF 8F C5 02 EC 
040: 00 00 00 00 00 00 00 00 00 00 
050: 00 00 00 00 00 00 00 00 00 00 
060: 00 00 00 00 00 00 00 00 3E 5D 
070: 01 79 C0 5B AC 86 01 00 00 00 
080: 00 AA FF FD 01 00 00 00 01 00 
090: 00 00 00 00 00 3A 1B 70 80 D8 
100: 00 62 00 28 00 22 00 00 00 00 
110: 82 F8 05 40 00 00 05 40 00 00 
120: 00 00 00 00 00 00 00 01 49 50 
130: 55 49 41 4C 4A 52 41 41 31 30 
140: 2D 32 31 34 33 2D 30 31 56 30 
150: 31 20 89 FB 55 00 00 00 00 78 
160: 00 00 00 00 00 00 00 00 00 00 
170: 00 00 00 00 00 00 00 00 00 00 
180: 00 00 00 00 00 00 00 00 00 00 
190: AA AA 53 46 50 2D 47 45 2D 53 
200: 20 20 20 20 20 20 20 20 20 20 
210: 20 20 00 00 00 00 00 00 00 00 
220: 00 00 00 A2 00 00 00 00 00 00 
230: 00 00 00 00 00 00 00 00 00 00 
240: 00 00 00 00 00 00 00 00 00 40 
250: 00 40 00 00 00 00 
Router#

Configuration Examples

This section includes the following configuration examples:

Basic Interface Configuration

MAC Address Configuration

MTU Configuration

VLAN Configuration

Basic Interface Configuration

The following example shows how to enter the global configuration mode to specify the interface that you want to configure, configure an IP address for the interface, and save the configuration. This example configures interface port 1 on the SM that is located in subslot 0 of the SIP that is installed in slot 0 of the Cisco ISR 4451-X:

! Enter global configuration mode.

!

Router# configure terminal

! Enter configuration commands, one per line. End with CNTL/Z.

!

! Specify the interface address.

!

Router(config)# interface gigabitethernet 2/0/0

!

! Configure an IP address.

!

Router(config-if)# ip address 192.168.50.1 255.255.255.0

!

! Start the interface.

!

Router(config-if)# no shut

!

! Save the configuration to NVRAM.

!

Router(config-if)# exit

Router# copy running-config startup-config

MAC Address Configuration

The following example shows how to change the default MAC address on the interface to 1111.2222.3333:

! Enter global configuration mode.

!

Router# configure terminal

! Enter configuration commands, one per line. End with CNTL/Z.

!

! Specify the interface address

!

Router(config)# interface gigabitethernet 2/0/0

!

! Modify the MAC address.

!

Router(config-if)# mac-address 1111.2222.3333

MTU Configuration

The following example shows how to set the MTU interface to 9216 bytes.


Note The SM automatically adds an additional 22 bytes to the configured MTU interface size.


! Enter global configuration mode.

!

Router# configure terminal

! Enter configuration commands, one per line. End with CNTL/Z.

!

! Specify the interface address

!

Router(config)# interface gigabitethernet 2/0/0

!

! Configure the interface MTU.

!

Router(config-if)# mtu 9216

VLAN Configuration

The following example shows how to create the subinterface number 268 on SM interface port 2 (the third port), and configure the subinterface on the VLAN with the ID number 268, using IEEE 802.1Q encapsulation:

! Enter global configuration mode.

!

Router# configure terminal

! Enter configuration commands, one per line. End with CNTL/Z.

!

! Specify the interface address

!

Router(config)# interface gigabitethernet 2/0/1.268

!

! Configure dot1q encapsulation and specify the VLAN ID.

!

Router(config-subif)# encapsulation dot1q 268

Additional References

Related Documents

Related Topic
Document Title

Cisco IOS commands

Cisco IOS Master Commands List, All Releases

Information on connecting the service module

Connecting the Cisco 6-port GE SFP Service Modules to the Network

Regulatory Compliance and Safety Information

Cisco Network Modules and Interface Cards Regulatory Compliance and Safety Information

Overview of Cisco Network Modules and Service Modules for Cisco Access Routers

Overview of Cisco Network Modules and Service Modules for Cisco Access Routers

Installing Cisco Network Modules and Service Modules in Cisco Access Routers

Installing Cisco Network Modules and Service Modules in Cisco Access Routers

Documentation Roadmap for the Cisco 4451-X Integrated Services Router

Documentation Roadmap for the Cisco 4451-X Integrated Services Router

Cisco 4451-X Integrated Services Router Hardware Installation Guide

Hardware Installation Guide for the Cisco 4451-X Integrated Services Router

Software Configuration Guide for the Cisco 4451-X Integrated Services Router

Software Configuration Guide for the Cisco 4451-X Integrated Services Router


MIBs

MIB
MIBs Link

RFC1407-MIB

To locate and download MIBs for selected platforms, Cisco software releases, and feature sets, use Cisco MIB Locator found at the following URL:

http://www.cisco.com/go/mibs


Technical Assistance

Description
Link

The Cisco Support and Documentation website provides online resources to download documentation, software, and tools. Use these resources to install and configure the software and to troubleshoot and resolve technical issues with Cisco products and technologies. Access to most tools on the Cisco Support and Documentation website requires a Cisco.com user ID and password.

http://www.cisco.com/cisco/web/support/index.html



[an error occurred while processing this directive]