A SERVICE OF

logo

Configuration Commands
142
Layer 3 configuration
The following table describes basic Layer 3 Configuration commands. The following sections provide
more detailed information and commands.
Table 118 L3 Configuration commands
Command Description
interface ip {<1-250>}
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 250 IP interfaces. Each IP interface represents the switch on an IP
subnet on your network. The IP Interface option is disabled by default.
The following table describes the IP Interface Configuration commands.
Table 119 IP Interface Configuration commands
Command Description
interface ip {<1-250>}
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
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
[no] relay
Enables or disables the BOOTP relay on this interface. The default value
is enabled.
Command mode: Interface IP
enable
Enables this IP interface.
Command mode: Interface IP