2 configuring vlan interfaces – CANOGA PERKINS CanogaOS Configuration Guide User Manual
Page 101

CanogaOS Configuration Guide
Proprietary & Confidential Canoga Perkins Metro Ethernet Switches
Page 101 of 350
Internet address(es):
1.1.1.1/24 broadcast 1.1.1.255
Joined group address(es):
224.0.0.1
The maximum transmit unit is 1500 bytes
ICMP error messages limited to one every 1000 milliseconds
ICMP redirects are always sent
ARP timeout 01:00:00, ARP retry interval 1s
VRRP master of : VRRP is not configured on this interface
13.2 Configuring VLAN interfaces
This chapter describes configuring VLAN interfaces and using them. Several Virtual LAN
(VLAN) interfaces can be configured on a single ethernet interface. Once created, a VLAN
interface functions the same as any physical interface, and it can be configured and displayed
like any physical interface. Routing protocols, such as, RIP, OSPF and BGP can run across
networks using VLAN interfaces.
13.2.1 Configurations
DUT1#configure terminal
Enter the Configure mode.
DUT1(config)#vlan database
Enter VLAN database mode.
DUT1(config-vlan)#vlan 10
Create VLAN 10.
DUT1(config-vlan)#exit
Exit the VLAN database mode and enter the Configure
mode.
DUT1(config)#interface eth-0-2
Specify the interface (eth-0-2)to be configured and enter the
Interface mode.
DUT1(config-if)#switchport mode trunk
Set the switching characteristics of this interface to trunk
mode.
DUT1(config-if)#switchport trunk allowed vlan all Enable all VLAN IDs on this port.
DUT1(config-if)#no shutdown
Enable the interface
DUT1(config-if)#exit
Exit the Interface mode and enter the Configure mode.
DUT1(config)#interface vlan10
Specify the interface vlan10)to be configured and enter
the Interface mode.
DUT1(config-if)#ip address 2.2.2.2/24
Configure IP address to 2.2.2.2/24
DUT1(config-if)#end
Return to privileged EXEC mode.
DUT1#show ip interface brief
Verify the configuration.