Configuration Guide
Interface Configuration
Command
Function
Ruijie(config-if)#
switchport port-security
Set port security.
The following example shows how to enable port security on Gigabitethernet 2/1.
Ruijie#
configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Ruijie(config)#
interface
gigabitethernet
2/1
Ruijie(config-if)#
switchport port-security
Ruijie(config-if)#
end
For more information on configuring the speed, duplexing, and flow control of an interface, see
the section of
Setting Speed, Duplexing, and Flow Control foran Interface.
The following example shows how to set Gigabitethernet 2/1 to access port, its VLAN to 100,
its speed, duplexing, and flow control to self-negotiation and enable port security.
Ruijie#
configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Ruijie (config)#
interface
gigabitethernet
2/1
Ruijie (config-if)#
switchport access vlan
100
Ruijie (config-if)#
speed auto
Ruijie (config-if)#
duplex auto
Ruijie (config-if)#
flowcontrol auto
Ruijie (config-if)#
switchport
port-security
Ruijie (config-if)#
end
Configuring Hybrid Port
You can configure the hybrid port by performing the following steps:
Command
Description
configure terminal
Enter configuration mode
interface <
interface
>
Enter the interface configuration
mode.
Megabit, Gigabit, 10 Gigabit
switchport mode hybrid
Configure the port as a hybrid
port.
no switchport mode
Delete the port mode.
switchport hybrid native
vlan
id
Set the default VLAN for the
hybrid port.
switchport hybrid allowed vlan
[[
add
] [
tagged | untaged
]]
|remove
]
vlist
Set the output rule for the port.
Ruijie#
configure terminal
Ruijie(config)#
interface g
0/1
Ruijie(config-if)#
switchport mode hybrid
Ruijie(config-if)#
switchport hybrid native vlan
3
Ruijie(config-if)#
switchport hybrid allowed vlan untagged
20-30
Ruijie(config-if)#
end
Ruijie#
show running interface g
0/1
Содержание 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 ...