Configuration Guide
Interface Configuration
Using the interface range Command
Setting an Interface Range
You can configure multiple interfaces at once by using the
interface range
command in the
global configuration mode. As a result, the configured parameters apply to all the interfaces
within the range.
Command
Function
Ruijie(config)
#
interface
range
{
port-range
|
macro
macro_name
}
Enter an interface range.
You can use the
interface range
command
to specify multiple ranges separated by a
comma.
The
macro
parameter
can use the macro of
a range. See the section of
Configuring and
Using Macro Definition for Interface Range
.
Be sure that the interfaces of all the ranges
specified by a command must be of the
same type.
When using the
interface range
command, you should pay attention to the format of
range
.
A valid range format
vlan
vlan-ID
-
vlan-ID
, with VLAN ID in the range of 1
–4094;
Fastethernet
slot
/{
the first port
} - { the last
port
};
Gigabitethernet
slot
/{
the first port
} - { the last
port
};
TenGigabitethernet
slot
/{
the first port
} - { the last
port
};
Aggregate Port Aggregate
port number
, with
Aggregate port number
in the range of 1 to
MAX.
The interfaces in an
interface range
must be of the same type, for example fastethernet,
gigabitethernet, aggregate port or SVI.
This example shows how to use the
interface range
command in the global configuration
mode:
Ruijie#
configure terminal
Ruijie(config)#
interface range fastethernet
1/1 - 10
Ruijie(config-if-range)#
no shutdown
Ruijie(config-if-range)#
This example shows how to separate multiple
ranges by a comma ―,‖:
Ruijie#
configure terminal
Ruijie(config)#
interface range fastethernet
1/1-5, 1/7-8
Ruijie(config-if-range)#
no shutdown
Ruijie(config-if-range)#
Содержание RG-S2900G-E Series
Страница 1: ...RG S2900G E Series Switch RGOS Configuration Guide Release 10 4 2b12 p1 ...
Страница 91: ...Configuration Guide Configuring PoE Configuration ...
Страница 133: ...Configuration Guide EEE Configuration ...
Страница 319: ...Configuration Guide QinQ Configuration ...
Страница 408: ......
Страница 409: ...IP Routing Configuration 1 Static Route Configuration ...
Страница 412: ......
Страница 413: ...Multicast Configuration 1 IGMP Snooping Configuration 2 MLD Snooping Configuration ...
Страница 621: ...Configuration Guide CPU Protection Configuration udp helper 180 4 dhcp client 180 4 lacp 180 4 ...
Страница 757: ......
Страница 758: ...ACL QoS Configuration 1 Access Control List Configuration 2 QoS Configuration ...
Страница 801: ...Reliability Configuration 1 RLDP Configuration 2 TPP Configuration 3 SEM Configuration ...
Страница 901: ...Configuration Guide ERSPAN Configuration ...
Страница 902: ...Web based Configuration 1 Web based Configuration ...