Tuesday 19 July 2011

Ethernet Interface Configuration


Below commands run in System-view

interface GigabitEthernet1/0/1
description text
duplex { auto | full | half }
auto by default.
speed { 10 | 100 | 1000 | auto }
By default, the port speed is in the auto-negotiation mode.
Shutdown

By default, an Ethernet interface is in up state.
10-Gigabit Ethernet ports do not support the duplex command or the speed command.

To enable the Jumbo Frame

interface GigabitEthernet1/0/1
jumboframe enable

By default, the device allows jumbo frames with the length of 9.216 bytes to pass
through all Layer 2 Ethernet interfaces.

To reset the counters

reset counters interface

Flow control helps to avoid packet drops on the link. If congestion occurs at the receiving end, it sends pause frame to sending end to stop sending the packet.

interface GigabitEthernet1/0/1
Flow control

Physical link has two states, up and down. Each time the physical link of an interface goes up or down, the physical layer reports to the upper layer and upper layer handles the change which results in increasing the overhead. We can configure link-down suppression to delay the reporting of link down events on an Ethernet interface.

interface GigabitEthernet1/0/1
Link delay

By default link delay is disabled.

Displaying and Maintaining an Ethernet Interface (Available in any view)

Display the current state of an interface and the related information 

display interface GigabitEthernet1/0/1
Display the summary of an interface
display brief interface GigabitEthernet1/0/1


No comments:

Post a Comment