Table 8-1 Command Summary
Command
|
Purpose
|
RP/0/0/CPU0:Router# configure
|
Enters global configuration mode.
|
RP/0/0/CPU0:Router(config)# interface
gigabitethernet rack/slot/subslot/port
|
Specifies the Gigabit Ethernet interface to configure.
|
RP/0/0/CPU0:Router(config-if)# ipv4 address
ip-address mask
or
RP/0/0/CPU0:Router(config-if)# ipv6 address
ipv6-prefix/prefix-length
|
Sets a primary or secondary IP address for an interface.
|
RP/0/0/CPU0:Router(config-if)# flow control
{bidirectional | egress | ingress}
|
Enables the sending of flow-control pause frames.
|
RP/0/0/CPU0:Router(config-if)# mac-accounting
{egress | ingress}
|
Generates accounting information for IP traffic based on the source and destination MAC addresses on LAN interfaces.
|
RP/0/0/CPU0:Router(config-if)# mtu value
|
Sets the maximum transmission unit (MTU) value for the interface.
|
RP/0/0/CPU0:Router(config-if)# negotiation auto
|
Enables advertisement of speed, duplex mode, and flow control on a Gigabit Ethernet interface.
|
RP/0/0/CPU0:Router(config-if)# no shutdown
|
Enables an interface.
|
RP/0/0/CPU0:Router(config-if)# commit
|
Saves the configuration changes to the running configuration file and remains within the configuration session.
|
RP/0/0/CPU0:Router(config-if)# end
|
Prompts you to save the configuration changes and exits the configuration session.
|
RP/0/0/CPU0:Router# show interfaces
|
Displays the configured interface and checks the status of each interface port.
|
RP/0/0/CPU0:Router# show version
|
Displays the current software version, and can also be used to confirm that the router recognizes the line card.
|