Chapter 13 Interfaces
UAG CLI Reference Guide
104
The following table identifies the values required for many of these commands. Other input values
are discussed with the corresponding commands.
This table lists the VLAN interface commands.
13.7.1 VLAN Interface Command Examples
The following commands show you how to set up VLAN vlan100 with the following parameters:
VLAN ID 100, interface lan1, IP 1.2.3.4, subnet 255.255.255.0, MTU 598, gateway 2.2.2.2,
description "I am vlan100”, upstream bandwidth 345, and downstream bandwidth 123.
13.8 Bridge Specific Commands
This section covers commands that are specific to bridge interfaces. Bridge interfaces also use
many of the general interface commands discussed at the beginning of Section 13.2 on page 86.
Table 50 Input Values for VLAN Interface Commands
LABEL DESCRIPTION
interface_name VLAN interface: vlanx, x = 0 - 4094
See Table 37 on page 86 for detailed information about the interface name.
Table 51 interface Commands: VLAN Interfaces
COMMAND DESCRIPTION
interface interface_name Creates the specified interface if necessary and enters sub-command mode.
[no] port interface_name Specifies the Ethernet interface on which the VLAN interface runs. The no command
clears the port.
[no] vlan-id <1..4094> Specifies the VLAN ID used to identify the VLAN. The
no command clears the VLAN ID.
show port vlan-id Displays the Ethernet interface VLAN settings.
Router# configure terminal
Router(config)# interface vlan100
Router(config-if-vlan)# vlan-id 100
Router(config-if-vlan)# port lan1
Router(config-if-vlan)# ip address 1.2.3.4 255.255.255.0
Router(config-if-vlan)# ip gateway 2.2.2.2
Router(config-if-vlan)# mtu 598
Router(config-if-vlan)# upstream 345
Router(config-if-vlan)# downstream 123
Router(config-if-vlan)# description I am vlan100
Router(config-if-vlan)# exit