HP 445942-001 manual Layer 3 configuration, IP interface configuration, Ip address IP address IP

Models: 445942-001

1 199
Download 199 pages 25.09 Kb
Page 142
Image 142

Configuration Commands

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

Configures the IP address and mask of the switch interface using dotted

netmask>}

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

 

 

 

142

Page 142
Image 142
HP 445942-001 manual Layer 3 configuration, IP interface configuration, Ip address IP address IP, Netmask