Command Summary for the Gigabit Ethernet SPAs

Table Of Contents

Command Summary for Gigabit Ethernet SPAs


Command Summary for Gigabit Ethernet SPAs


Table 7-1 provides an alphabetical list of the most significant commands that are needed to configure, monitor, and maintain the Gigabit Ethernet shared port adapter Shared Port Adapters (SPAs). For more information about the commands, see Chapter 19, "SIP and SPA Command Reference" in this book, and the Cisco IOS Release 12.2 command reference and master index publications.

Table 7-1 Command Summary 

Command
Purpose

Router(config-subif)# encapsulation dot1q vlan-id [native]

Enables IEEE 802.1Q encapsulation of traffic on a specified subinterface in VLANs.

Router(config)# ip accounting mac-address {input | output}

Enables MAC address accounting. MAC address accounting provides accounting information for IP traffic based on the source and destination MAC addresses of the LAN interfaces.

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

Sets a primary or secondary IP address for an interface.

Router(config-if)#ipv6 address prefix-name ipv6-prefix/prefix-length

Sets an IPv6 general prefix and enables IPv6 processing on an interface.

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

Specifies the Gigabit Ethernet interface to configure.

Router(config-if)# loopback internal

Enables internal loopback mode.

Router(config-if)# loopback external

Enables external loopback mode.

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

Modifies the default Media Access Control (MAC) address of an interface to some user-defined address.

Router(config-if)# mtu bytes

Configures the maximum packet size for an interface.

Router(config-if)# negotiation auto

Enables advertisement of flow control on a Gigabit Ethernet interface.

Router(config-if)# no negotiation auto

Disables advertisement of flow control on a Gigabit Ethernet interface. Autonegotiation is enabled by default, so this command is required if you want to change the configuration.

Router(config-if)# no shutdown

Enables an interface.

Router# show interfaces gigabitethernet

Displays various Gigabit Ethernet interface statistics.

Router# show vlans [vlan-id]

Displays VLAN subinterfaces.

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

Creates (or enables) the HSRP group using its number and virtual IP address.