Cisco Cisco Packet Data Gateway (PDG) Guia Do Administrador
VLANs
▀ VLAN-Related CLI Commands
▄ Cisco ASR 5500 System Administration Guide
258
VLAN-Related CLI Commands
VLAN-related features and functions are supported across several CLI command modes. The following tables identify
commands associated with configuration and monitoring of VLAN-related functions.
commands associated with configuration and monitoring of VLAN-related functions.
For detailed information regarding the use of the commands listed below, see the Command Line Interface Reference.
Table 35. VLAN-Related Configuration Commands
CLI Mode
Command
Description
AAA Server Group
Configuration Mode
Configuration Mode
radius attribute nas-ip-address address
ip_address nexthop-forwarding-address
ip_address vlan vlan_id
ip_address nexthop-forwarding-address
ip_address vlan vlan_id
Sets the RADIUS client to provide the VLAN ID with
the nexthop forwarding address to a system when
running in single nexthop gateway mode.
Note: To access the vlan keyword, aaa-large
configuration must be enabled via the Global
Configuration mode.
the nexthop forwarding address to a system when
running in single nexthop gateway mode.
Note: To access the vlan keyword, aaa-large
configuration must be enabled via the Global
Configuration mode.
ACS Charging Action
Configuration Mode
Configuration Mode
ip vlan vlan_id
Configures the VLAN identifier to be associated with
the subscriber traffic in the destination context.
the subscriber traffic in the destination context.
Context Configuration
Mode
Mode
ip pool pool_name nexthop forwarding
address ip_address overlap vlanid vlan_id
address ip_address overlap vlanid vlan_id
When a nexthop forwarding address is configured, the
overlap vlanid keyword enables support for
overlapping IP address pools and associates the pool
with the specified VLAN ID.
overlap vlanid keyword enables support for
overlapping IP address pools and associates the pool
with the specified VLAN ID.
Context Configuration
Mode
Mode
ip routing overlap-pool
Advertises overlap-pool addresses in dynamic routing
protocols when overlap pools are configured using
VLAN IDs. When enabled, the overlap addresses are
added as interface addresses and advertised.
protocols when overlap pools are configured using
VLAN IDs. When enabled, the overlap addresses are
added as interface addresses and advertised.
Context Configuration
Mode
Mode
radius attribute nas-ip-address address
ip_address nexthop-forwarding-address
ip_address vlan vlan_id
ip_address nexthop-forwarding-address
ip_address vlan vlan_id
Specifies the VLAN ID to be associated with the next-
hop IP address.
hop IP address.
Ethernet Interface
Configuration Mode
Configuration Mode
[no] logical-port-statistics
Enables or disables the collection of logical port
(VLAN and NPU) bulk statistics for the first 32
configured Ethernet or PVC interface types.
(VLAN and NPU) bulk statistics for the first 32
configured Ethernet or PVC interface types.
Ethernet Interface
Configuration Mode
Configuration Mode
vlan-map next-hop ipv4_address
Sets a single next-hop IP address so that multiple
VLANs can use a single next-hop gateway. The vlan-
map is associated with a specific interface.
VLANs can use a single next-hop gateway. The vlan-
map is associated with a specific interface.
Ethernet Port
Configuration Mode
Configuration Mode
vlan vlan_id
Enters VLAN Configuration mode.
PVC Configuration
Mode
Mode
[no] shutdown
Enables or disables traffic over a specified VLAN. See
below.
below.
Subscriber
Configuration Mode
Configuration Mode
ip vlan vlan_id
Configures the subscriber VLAN ID that 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.
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.