Table of Contents

Advertisement

Usage guidelines
A device supports the global configuration mode. In system view, use the flow-interval command to set
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 creates first 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 subnumber
argument is in the range of 1 to 4094.
Examples
# Enter GigabitEthernet 4/0/1 interface view (assuming that the interface is a Layer 2 Ethernet
interface).
<Sysname> system-view
[Sysname] interface gigabitethernet 4/0/1
[Sysname-GigabitEthernet4/0/1]
# Enter GigabitEthernet 4/1/1 interface view (assuming that the interface is a Layer 3 Ethernet
interface).
<Sysname> system-view
[Sysname] interface gigabitethernet 4/1/1
[Sysname-GigabitEthernet4/1/1]
# Create Ethernet subinterface GigabitEthernet4/1/1.1 and enter GigabitEthernet4/1/1.1 subinterface
view (assuming that GigabitEthernet4/1/1 is a Layer 3 Ethernet interface and the subinterface does not
exist).
<Sysname> system-view
[Sysname] interface gigabitethernet 4/0/1.1
[Sysname-GigabitEthernet4/1/1.1]
22

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hsr6600

Table of Contents