Configuration Guide Interface Configuration
Ruijie(config)# interface gigabitethernet 2/1
Ruijie(config-if)# no switchport
Ruijie(config-if)# ip address 192.20.135.21 255.255.255.0
Ruijie(config-if)# no shutdown
Ruijie(config-if)# end
Configuring SVI
This section describes how to create a SVI and some related configuration.
You may create a SVI or modify an existing one by using the interface vlan vlan-id command.
To configure a SVI, execute the following command:
Ruijie(config)# interface vlan vlan-id
Enter the SVI interface
configuration mode.
Then, you can configure the attributes related to the SVI. For detailed information, refer to
Configuring Single IP Address Route.
The following example shows how to enter the interface configuration mode and assign an IP
address to SVI 100.
Ruijie# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Ruijie(config)# interface vlan 100
Ruijie(config-if)# ip address 192.168.1.1 255.255.255.0
Ruijie(config-if)# end
Configuring Routed Ports
This section deals with how to create and configure a routed port.
You may create a routed port by using the no switchport command in the interface
configuration command.
To create one routed port and assign an IP address to it, execute the following commands:
Ruijie(config-if)# no switchport
Shut down the interface and then
change it to L3 mode.
Ruijie(config-if)# ip address ip_address
subnet_mask
Configure the IP address and
subnet mask.
No layer switching can be performed by using switchport/ no
switchport when an interface is a member of an L2 Aggregate
Port.