4-5
Cisco ONS 15454 SONET/SDH ML-Series Multilayer Ethernet Card Software Feature and Configuration Guide, R4.0
78-15224-02
Chapter 4 Configuring Interfaces
Understanding Interfaces
The following example shows how to do the initial configuration of a Fast Ethernet interface with an IP
address, autonegotiated speed, and autonegotiated duplex:
Router(config)# interface fastethernet 1
Router(config-if)# ip address 10.1.2.4 255.0.0.0
Router(config-if)# speed auto
Router(config-if)# duplex auto
Router(config-if)# no shutdown
Router(config-if)# end
Router# copy running-config startup-config
Configuring the Gigabit Ethernet Interface (ML1000-2)
To configure IP address or bridge-group number, autonegotiation, and flow control on a Gigabit Ethernet
interface, perform the following procedure, beginning in global configuration mode:
Note The default setting for the negotiation mode is auto for the Gigabit Ethernet and Fast Ethernet interfaces.
The Gigabit Ethernet port always operates at 1000 Mbps in full-duplex mode.
Step 5
Router(config-if)# flowcontrol send {on |
off | desired}
(Optional) Sets the send flow control value for an
interface. Flow control works only with port-level
policing.
Step 6
Router(config-if)# no shutdown
Enables the interface by preventing it from
shutting down.
Step 7
Router(config)# end
Returns to privileged EXEC mode.
Step 8
Router# copy running-config startup-config
(Optional) Saves your configuration changes to
TCC+/TCC2 Flash database.
Command Purpose
Command Purpose
Step 1
Router# interface gigabitethernet
number
Activates interface configuration mode to
configure the Gigabit Ethernet interface.
Step 2
Router#(config-if)# {ip address
ip-address
subnet-mask
| bridge-group
bridge-group-number}
Sets the IP address and subnet mask.
or
Assigns a network interface to a bridge group.
Step 3
Router#(config-if)# [no] negotiation auto
Sets negotiation mode to auto. The Gigabit
Ethernet port attempts to negotiate the link with
the partner port.
If you want the port to force the link up no matter
what the partner port setting is, set the Gigabit
Ethernet interface to no negotiation auto.
Step 4
Router(config-if)# flowcontrol {send |
receive} {on | off | desired}
(Optional) Sets the send or receive flow control
value for an interface. Flow control works only
with port-level policing.