5.
Routing configuration commands
5.1
Interface config
Interface configuration commands include:
interface
shutdown
ip address
show interface
Function Brief
Based on the switch L3 routing principle, the virtual interface is
established for each Vlan to set up the L3 address information of each Vlan.
5.1.1
interface
Command Description
interface
{
IFNAME
}
//This command is to enter interface configuration mode.
Parameter
Parameter
Parameters of the command mode
IFNAME
Interface vlan vlan range:vlan1-vlan4094
Default
None
Command Mode
Global configuration mode
Example
//This command is to vlan1 configuration mode.
switch(config)# interface vlan1
5.1.2
shutdown / no shutdown
Command Description
shutdown/no shutdown
//This command is turned on or off a vlan interface.
Parameter
None
Default
Open