Cisco Cisco Packet Data Gateway (PDG)

Pagina di 8994
Subscriber Configuration Mode Commands   
▀  ip vlan 
 
 
▄  Command Line Interface Reference, StarOS Release 17 
8760 
   
ip vlan 
Configures subscriber-to-Virtual LAN (VLAN) associations. 
Product
 
PDSN 
HA 
Privilege
 
Security Administrator, Administrator 
Mode
 
Exec > Global Configuration > Context Configuration > Subscriber Configuration 
configure > context context_name > subscriber { default | name subscriber_name }
 
Entering the above command sequence results in the following prompt: 
[context_name]host_name(config-subscriber)# 
Syntax
 
ip vlan vlan-id 
[ default | no ] ip vlan 
default
 
Resets the VLAN ID to the default setting. 
no
 
Disables the VLAN ID for the subscriber. 
ip vlan
 
vlan-id
 
Specifies the VLAN ID that is associated with the IP address for that session. 
vlan-id
 is an integer from 1 
through 4094. 
Usage 
This command configures the subscriber vlan ID which is used with the assigned address for the subscriber 
session to receive packets. If the IP pool from which the address is assigned is configured with a VLAN ID, 
this subscriber configured VLAN ID overrides it. 
Subscriber traffic can be routed to specific VLANs based on the configuration of their user profile. Using this 
functionality provides a mechanism for routing all traffic from a subscriber over the specified VLAN. All 
packets destined for the subscriber must also be sent using only IP addresses valid on the VLAN or they will 
be dropped. 
Example
 
Set the vlan ID to the default setting by entering the following command: 
default ip vlan