R2511-HP MSR Router Series Interface Command Reference(V5)

Table Of Contents
23
If both the interface type and number are specified, this command only clears statistics for the
specified interface or subinterface.
Examples
# Clear the statistics of Ethernet 1/1.
<Sysname> reset counters interface ethernet 1/1
# Clear the statistics of subinterface Ethernet 1/1.1.
<Sysname> reset counters interface ethernet 1/1.1
shutdown
Use shutdown to shut down an Ethernet interface or subinterface.
Use undo shutdown to bring up an Ethernet interface or subinterface.
Syntax
shutdown
undo shutdown
Default
Ethernet interfaces and subinterfaces are up.
Views
Ethernet interface view, Ethernet subinterface view, port group view
Default command level
2: System level
Usage guidelines
You might need to shut down and then bring up an Ethernet interface to activate configuration changes
such as speed or duplex mode changes.
Examples
# Shut down and then bring up Ethernet 1/1.
<Sysname> system-view
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] shutdown
[Sysname-Ethernet1/1] undo shutdown
# Shut down and then bring up Ethernet 1/1.1.
<Sysname> system-view
[Sysname] interface ethernet 1/1.1
[Sysname-Ethernet1/1.1] shutdown
[Sysname-Ethernet1/1.1] undo shutdown
# Shut down all member ports in the port group named group1.
<Sysname> system-view
[Sysname] port-group manual group1
[Sysname-port-group-manual-group1] shutdown