VLAN Configuration Mode Commands


VLAN Configuration Mode Commands
 
 
The VLAN Configuration Mode is used to create and manage Virtual LANs and their bindings between contexts.
 
 
bind interface
Configures a virtual interface to context association for the current VLAN.
Product
PDSN, HA, SGSN
Privilege
Security Administrator, Administrator
Syntax
bind interface interface_name context_name
no bind interface interface_name context_name
no
Indicates the binding between the virtual interface specified and the context specified is to be unbound for the current VLAN.
interface_name
Specifies the name of the virtual interface to be bound to the context. interface_name must be from 1 to 79 alpha and/or numeric characters.
context_name
Specifies the name of the context to be bound to the virtual interface. context_name must refer to a previously configured context.
Usage
Bind a virtual interface and context to allow the VLAN to provide service.
Example
bind interface sampleVirtual sampleContext
no bind interface sampleVirtual sampleContext
 
end
Exits the port configuration mode and returns to the Exec mode.
Product
PDSN, HA
Privilege
Security Administrator, Administrator
Syntax
end
Usage
Change the mode back to the Exec mode.
 
exit
Exits the VLAN configuration mode and returns to the port configuration mode.
Product
PDSN, HA
Privilege
Security Administrator, Administrator
Syntax
exit
Usage
Return to the port configuration mode.
 
ingress-mode
This command toggles between enabling and disabling the port ingress mode.
Product
PDSN, HA, SGSN
Privilege
Security Administrator, Administrator
Syntax
ingress-mode
Usage
Use this command to enable or disable the ingress mode for the port.
Example
ingress-mode
 
shutdown
Disables/enables traffic over the current VLAN.
Product
PDSN, HA
Privilege
Security Administrator, Administrator
Syntax
shutdown
no shutdown
no
Enables the VLAN. When omitted the VLAN is shutdown.
Usage
Shut down a VLAN.
This command is necessary to bring a VLAN into service by enabling it via the no keyword.
Example
To disable a VLAN from sending or receiving network traffic use the following command:
shutdown
To enable a VLAN use the following command:
no shutdown
 
vlan-map
This command sets a single next-hop IP address so that multiple vlans can use a single next-hop gateway. vlan-map is associated with a specific interface.
Product
PDSN, HA, SGSN
Privilege
Security Administrator, Administrator
vlan-map next-hop ip_address
next-hop ip_address
This keyword defines an IP address for the next-hop gateway.
ip_address: Can be either an IPv4 or IPv6 address in standard format.
Usage
Use vlan-map to combine multiple vlan links to go through a single IP address. This feature is used in conjunction with nexthop forwarding and overlapping IP pools.
After configuring the vlan-map, move to the Port Ethernet configuration mode to attach the vlan-map to a specific vlan.
Example
The following command sets an IPv4 for a next-hop gateway.
vlan-map next-hop 123.123.123.1
 
 
 

Cisco Systems Inc.
Tel: 408-526-4000
Fax: 408-527-0883