3 interface configuration mode, 4 config-vlan mode, 5 vlan configuration mode – CANOGA PERKINS CanogaOS Command Reference User Manual

Page 46

Advertising
background image

CanogaOS Command Line Reference

Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches

Page 46 of 855

management console.
This example shows you how to access global configuration mode:
Switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
The supported commands can vary depending on the version of software in use. To view a comprehensive
list of commands, enter a question mark (?) at the prompt:
Switch(config)# ?
To exit global configuration command mode and to return to privileged EXEC mode, enter the end or exit
command, or press Ctrl-Z.

2.3 Interface Configuration Mode

Interface configuration commands modify the operation of the interface. Interface configuration commands
always follow a global configuration command, which defines the interface type.
Use the interface interface-id command to access interface configuration mode. The new prompt means
interface configuration mode.
Switch(config-if)#
The supported commands can vary depending on the version of software in use. To view a comprehensive
list of commands, enter a question mark (?) at the prompt:
Switch(config-if)# ?
To exit interface configuration mode and to return to global configuration mode, enter the exit command.
To exit interface configuration mode and to return to privileged EXEC mode, enter the end command, or
press Ctrl-Z.

2.4 config-vlan Mode

Use this mode to configure normal-range VLANs (VLAN IDs 1 to 4094), and you can save it to the switch
startup configuration file by using the copy running-config startup-config privileged EXEC command. The
configurations of VLAN IDs 1 to 4094 are saved in the VLAN database
Enter the vlan database global configuration command to access config-vlan mode:
Switch(config)# vlan database
Switch(config-vlan)#
The supported keywords can vary but are similar to the commands available in VLAN configuration mode.
To view a comprehensive list of commands, enter a question mark (?) at the prompt:
Switch(config-vlan)# ?

2.5 VLAN Configuration Mode

You can use the VLAN configuration commands to create or modify VLAN parameters for VLAN IDs 1 to

Advertising