N8406-023 1Gb Intelligent L3 Switch Command Reference Guide (ISCLI) 113
IMPORTANT:
All ports must belong to at least one VLAN. Any port which is removed from a VLAN and
which is not a member of any other VLAN is automatically added to default VLAN 1. You cannot remove a port
from VLAN 1 if the port has no membership in any other VLAN. Also, you cannot add a port to more than one
VLAN unless the port has VLAN tagging turned on.
Layer 3 configuration
The following table describes basic Layer 3 Configuration commands. The following sections provide more detailed
information and commands. Layer 3 functionality is limited in this release.
Table 119 L3 Configuration commands
Command
Description
interface ip
<
1-256
>
Enter IP Interface mode.
Command mode
: Global configuration
route-map <
1-32
>
Enter IP Route Map mode.
Command mode
: Global configuration
router rip
Enter Router RIP mode.
Command mode
: Global configuration
router ospf
Enter Router OSPF mode.
Command mode
: Global configuration
router vrrp
Enter VRRP configuration mode.
Command mode
: Global configuration
ip router-id
<
IP address
>
Sets the router ID.
Command mode
: Global configuration
show layer3
Displays the current IP configuration.
Command mode
: All except User EXEC
IP interface configuration
The switch can be configured with up to 256 IP interfaces. Each IP interface represents the switch on an IP subnet
on your network. The IP Interface option is disabled by default. Interface 256 is reserved for switch management.
The following table describes the IP Interface Configuration commands.
Table 120 IP Interface Configuration commands
Command
Description
interface ip
<
1-256
>
Enter IP interface mode.
Command mode
: Global configuration
ip address
<
IP address
>
<
IP netmask
>
Configures the IP address and mask of the switch interface
using dotted decimal notation.
Command mode
: Interface IP
[no] relay
Enables or disables BOOTP relay on this IP interface. The
default is enabled.
Command mode
: Interface IP
vlan
<
1-4094
>
Configures the VLAN number for this interface. Each interface
can belong to one VLAN, though any VLAN can have multiple
IP interfaces in it.
Command mode
: Interface IP
enable
Enables this IP interface.
Command mode
: Interface IP
no enable
Disables this IP interface.
Command mode
: Interface IP
no interface ip
<
1-256
>
Removes this IP interface.
Command mode
: Global configuration
show interface ip
<
1-256
>
Displays the current interface settings.
Command mode
: All
NOTE: If you enter an IP address for interface 1, you are prompted to change the BOOTP setting. Interface
256 is reserved for switch management interface.