R2511-HP MSR Router Series Interface Configuration Guide(V5)

6
Step Command Remarks
1. Enter system view.
system-view N/A
2. Enter Ethernet interface view.
interface interface-type
interface-number
N/A
3. Enable loopback testing.
loopback { external | internal }
By default, loopback testing is
disabled.
Configuring the link mode of an Ethernet interface
Depending on the hardware structure of interface cards, for a device, some interfaces can operate only
as Layer 2 Ethernet interfaces (in bridge mode), some can operate only as Layer 3 Ethernet interfaces (in
route mode), but others can operate either as Layer 2 or Layer 3 Ethernet interfaces (you can set the link
mode to bridge or route).
You can configure the link mode in system view or in Ethernet interface view, which produces the same
result. The link mode configuration in system view applies to multiple interfaces, and the link mode
configuration in interface view applies only to the current interface.
Configuration restrictions and guidelines
After you change the link mode of an Ethernet interface, all settings of the Ethernet interface are
restored to their defaults under the new link mode.
The link mode configuration for an Ethernet interface in system view and in interface view
supersedes each other.
Configuration procedure
To change the link mode of the specified Ethernet interfaces in system view:
Step Command
1. Enter system view.
system-view
2. Change the link mode of the specified Ethernet
interfaces.
port link-mode { bridge | route } interface-list
To change the link mode of an Ethernet interface:
Step Command
1. Enter system view.
system-view
2. Enter Ethernet interface view.
interface interface-type interface-number
3. Change the link mode of the Ethernet interface.
port link-mode { bridge | route }
Setting a statistics polling interval
You can configure an interface statistics polling interval. To display the interface statistics collected in the
last polling interval, use the display interface or display counters rate command.
In global configuration mode (system view), you can configure an interface statistics polling interval for
all Ethernet interfaces.