User guide

8-12 B
LACK
D
IAMOND
U
SER
G
UIDE
IP U
NICAST
R
OUTING
The following example creates a VLAN named esrp1.
create vlan esrp1
config vlan esrp1 add port 2:1-2:4
config vlan esrp1 ipaddress 10.1.2.3/16
config vlan esrp1 timer 10
config vlan esrp1 esrp priority 10
enable esrp vlan esrp1
IP C
OMMANDS
Table 8-2 describes the commands used to configure basic IP settings.
config vlan <name> esrp timer <hello_timer> Configures the virtual router hello timer.
The range is 1 to 255 seconds. A longer
hello timer interval causes the routers to
take longer to converge.
disable esrp vlan <name> Disables ESRP on a VLAN.
Table 8-2:
Basic IP Commands
Command Description
enable bootp vlan [<name> | all] Enables the generation and processing of
BOOTP packets on a VLAN to obtain an
IP address for the VLAN from a BOOTP
server. The default setting is enabled for
all VLANs.
enable bootprelay Enables the forwarding of BOOTP and
Dynamic Host Configuration Protocol
(DHCP) requests.
enable ipforwarding {vlan <name> | all} Enables IP routing for one or more VLANs.
If no argument is provided, enables routing
for all VLANs that have been configured
with an IP address. The default setting for
ipforwarding
is disabled.
Table 8-1:
ESRP Commands (continued)
Command Description