Modifying An Ip Router Port - Alcatel OmniSwitch 6800 Series Network Configuration Manual

Hide thumbs Also See for OmniSwitch 6800 Series:
Table of Contents

Advertisement

Configuring VLAN Router Ports
Specifying a subnet class, forwarding status, and encapsulation is optional, so it is not necessary to enter
these parameters as part of the command to accept their default values. For example, either one of the
following commands will create an IP router port for VLAN 955 with a class A subnet mask, forwarding
status and Ethernet-II encapsulation:
-> vlan 955 router ip 71.0.0.1 mask 255.0.0.0 forward e2
-> vlan 955 router ip 71.0.0.1
To remove an IP router port from a VLAN, use the no form of the vlan router ip command.
-> vlan 955 no router ip
To view a list of VLAN IP router ports configured on the switch, use the
For more information about this command, see the OmniSwitch CLI Reference Guide.

Modifying an IP Router Port

The vlan router ip command is also used to modify one or more existing IP router port parameter values.
For example, the following command changes the existing router port IP address for VLAN 455 to
40.0.0.2:
-> vlan 455 router ip 40.0.0.2
It is not necessary to first remove the IP router port from the VLAN. The changes specified will overwrite
existing parameter values. For example, the following command changes the subnet mask from 255.0.0.0
(the default mask for 40.0.0.2) to a Class C mask of 255.255.255.0, the forwarding status to no forwarding
and the encapsulation to SNAP by overwriting existing router port parameter values defined for VLAN
455. The IP address is not changed in this example, but is required as part of the command syntax to iden-
tify a router port change:
-> vlan 455 router ip 40.0.0.2 255.255.255.0 no forward snap
Note that when changing router port parameters, the subnet mask will revert back to the default mask
value if it was previously set to a non-default value and it is not specified when changing other router port
parameters. In the above example, the mask was set to a Class C value of 255.255.255.0, which is not the
default mask value for the Class A IP address of 40.0.0.1. If a change is made to any of the other parame-
ters and the Class C mask is not specified again in the command syntax, the mask will revert back to the
default Class A value of 255.0.0.0. For example, the following command changes the router port forward-
ing status and will cause the mask to revert back to its default value:
-> vlan 455 router ip 40.0.0.1 forward
To avoid the problem in the above example, simply enter the non-default mask value as shown below:
-> vlan 455 router ip 40.0.0.1 255.255.255.0 forward
Use the
show vlan
or
information about these commands, see the OmniSwitch CLI Reference Guide.
page 4-12
show vlan router ip
commands to verify VLAN IP router port changes. For more
OmniSwitch 6800 Series Network Configuration Guide
Configuring VLANs
show vlan router ip
command.
November 2004

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents