Configuring an Interface
This section lists the required configuration steps to configure Gigabit and Ten Gigabit Ethernet interfaces. Follow these steps to configure your interface:
Procedure
Command or Action | Purpose | |||
---|---|---|---|---|
Step 1 |
Router# configure terminal |
Enters global configuration mode. |
||
Step 2 |
Do one of the following:
|
Specifies the Gigabit Ethernet or Ten Gigabit Ethernet interface to configure and enters interface configuration mode, where:
|
||
Step 3 |
no negotiation auto Example:
|
(Optional) Disables automatic negotitation.
|
||
Step 4 |
speed { 10 | 100 | 1000 } Example:
|
(Optional) Specifies the speed for an interface to transmit at 10, 100, and 1000 Mbps (1 Gbps), where the default is 1000 Mbps. |
||
Step 5 |
Router(config-if)# carrier-delay down msec value |
(Optional) Sets the router to signal within the specified time delay, when an interface goes down, where:
|
||
Step 6 |
Router(config-if)# carrier-delay up msec value |
(Optional) Sets the router to signal within the specified time delay, when an interface should be up again, where:
You must wait for atleast 2 msec before bring the interface up again, this is to protect against link flaps. |
||
Step 7 |
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:
|
||
Step 8 |
Router(config-if)# mtu bytes |
(As Required) Specifies the maximum packet size for an interface, where:
The default is 1500 bytes; the range is from 1500 to 9216. |
||
Step 9 |
Router(config-if)# no shutdown |
Enables the interface. |