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

Table Of Contents
18
Parameters
interval: Sets the statistics polling interval, in seconds. The interval is in the range of 5 to 300 and must
be a multiple of 5.
Usage guidelines
The flow-interval command configured in system view sets the statistics polling interval for all interfaces.
Examples
# Set the statistics polling interval to 100 seconds for all Ethernet interfaces.
<Sysname> system-view
[Sysname] flow-interval 100
interface
Use interface to enter interface or subinterface view. If you specify the interface-number.subnumber
argument and the subinterface does not exist, this command first creates the subinterface, and then
enters subinterface view.
Syntax
interface interface-type { interface-number | interface-number.subnumber }
Views
System view
Default command level
2: System level
Parameters
interface-type: Specifies an interface type.
interface-number: Specifies an interface number.
interface-number.subnumber: Specifies a subinterface number, where interface-number is an interface
number, and subnumber is the number of a subinterface created under the interface. The value range for
the subnumber argument is 1 to 4094.
Examples
# Enter Ethernet 1/1 interface view (assuming that the interface is a Layer 2 Ethernet interface).
<Sysname> system-view
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1]
# Enter Ethernet 2/0 interface view (assuming that the interface is a Layer 3 Ethernet interface).
<Sysname> system-view
[Sysname] interface ethernet 2/0
[Sysname-Ethernet2/0]
# Create Ethernet subinterface Ethernet 2/0.1 and enter Ethernet 2/0.1 subinterface view (assuming that
Ethernet 2/0 is a Layer 3 Ethernet interface and the subinterface does not exist).
<Sysname> system-view
[Sysname] interface ethernet 2/0.1
[Sysname-Ethernet2/0.1]