Ruijie Community

Title: How to configure a management ip address through Cli command on Ruijie Switch? [Print this page]

Author: GTAC-Harvey    Time: 2022-2-20 19:24
Title: How to configure a management ip address through Cli command on Ruijie Switch?

Creating a Management IP Address

The SVI and router port address can be used as the management address of the layer 3 switch.


Layer 3 Switch:

The address of a layer-3 switch can be configured for management or communication, for example, as the gateway for a user.


Configuration Method 1:

Ruijie>enable

Ruijie#configure terminal

Ruijie(config)#interface vlan 10

Ruijie(config-if-VLAN 10)#ip address 192.168.1.1 255.255.255.0

Ruijie(config-if-VLAN 10)#end

Ruijie#write


Notice: To configure the address for VLANs other than VLAN 1 in interface configuration mode, create the corresponding VLAN first; otherwise, a failure prompt is displayed.

Configuration Method 2:

Ruijie>enable

Ruijie#configure terminal

Ruijie(config)#int GigabitEthernet 1/1

Ruijie(config-if-GigabitEthernet 1/1)#no switchport------>configure the port as layer 3 port before configuring ip address

Ruijie(config-if-GigabitEthernet 1/1)#ip add 192.168.16.1 255.255.255.0

Ruijie(config-if-GigabitEthernet 1/1)#end

Ruijie#write------>save configuration after checking.


Verification

Ruijie#show ip int brief

Interface                     IP-Address(Pri)          IP-Address(Sec)   Status       Protocol

GigabitEthernet 1/1           192.168.16.1/24        no address          up          up

VLAN 10                        192.168.1.1/24         no address          up          up

VLAN 100                      192.168.100.1/24      192.168.10.1/24   up          up








Welcome to Ruijie Community (https://community.ruijienetworks.com/) Powered by Discuz! X3.2