![Corecess R1-SW24L2B User Manual Download Page 130](http://html1.mh-extra.com/html/corecess/r1-sw24l2b/r1-sw24l2b_user-manual_2667222130.webp)
R1-SW24L2B User’s Manual
7-6
To remove the IP address of a VLAN, use the
no ip address
command in interface
configuration mode. The following example shows how to remove the IP address of the VLAN
whose id is ‘
2
’.
(config)#
interface vlan id 2
(config-if)#
no ip address 10.1.1.1/24
Assigning Secondary IP address to a VLAN
You can specify another IP address to a VLAN. This is called ‘
secondary
’ IP address. The
secondary IP address is useful for configuring DHCP server with many DHCP hosts (more than
256 hosts).
To specify the secondary IP address to the VLAN, use the following command in Global
configuration mode:
Table 7-5 Assigning secondary IP address to a VLAN
Commands
Task
interface vlan
{
id
<vlan-id> |
name
<vlan-name>}
1. Enter Interface configuration mode.
y
<vlan-id>
: ID of the VLAN to configure.
y
<vlan-name>
: Name of the VLAN to configure.
ip address
<network-num>/<M>
secondary
2. Specify the secondary IP address of the VLAN.
y
<network-num>
: IP address.
y
<M>
: subnet mask.
end
3. Return to Privileged mode.
show vlan
4. Verify the VLAN configuration.
This example shows how to specify the secondary IP address of the VLAN whose id is ‘
1
’:
#
configure terminal
(config)#
interface vlan id 1
(config-if)#
ip address 172.25.1.100/16 secondary
(config-if)#
end
#
show interface vlan id 1
Interface vlan1
index 28 kernel index 4 metric 1 mtu 1500 <UP,BROADCAST,RUNNING,MULTICAST>
HWaddr: 00:01:02:00:00:db
inet 172.27.2.100/16 broadcast 172.27.255.255
inet 172.25.1.100/16 broadcast 172.25.255.255 secondary
input packets 14926, bytes 899535, dropped 0, multicast packets 6491
Summary of Contents for R1-SW24L2B
Page 1: ...Edition 00 Distribution 2006 06 Corecess Layer2 Ethernet Switch R1 SW24L2B User s Manual...
Page 20: ...R1 SW24L2B User s Manual XX...
Page 27: ...Overview 1 7 E PON ONU...
Page 28: ...R1 SW24L2B User s Manual 1 8...
Page 42: ...R1 SW24L2B User s Manual 2 14...
Page 68: ...R1 SW24L2B User s Manual 4 16...
Page 112: ...R1 SW24L2B User s Manual 5 44...
Page 124: ...R1 SW24L2B User s Manual 6 12...
Page 134: ...R1 SW24L2B User s Manual 7 10...
Page 168: ...R1 SW24L2B User s Manual 8 34...
Page 207: ...Configuring QoS 9 39 8021p enable 8021p user priority 6 vlan 1 port fastethernet 2 1...
Page 210: ...R1 SW24L2B User s Manual 9 42...
Page 234: ...R1 SW24L2B User s Manual 10 24...
Page 258: ...R1 SW24L2B User s Manual 12 10...
Page 288: ...R1 SW24L2B User s Manual 13 30...
Page 300: ...R1 SW24L2B User s Manual B 8...