交换机配置

User interface aux0 is available.     // 用户界面

Please press ENTER.    // 按回车键进入用户视图

<Quidway> 

 %Apr 2 01:53:07:12 2000

 Quidway SHELL/5/LOGIN:- 1 - Console(aux0) in unit1 login

<Quidway>sys    // 进入系统视图,按[Ctrl+Z]返回用户视图

System View: return to User View with Ctrl+Z.

[Quidway]vlan 2    // 创建 vlan 2

// 将 Ethernet1- 0 号模块 2 号端口 E1/0/2 加入到 vlan2

[Quidway-vlan2]port e1/0/2

 [Quidway vlan2]vlan 3    // 创建 vlan3

// 将 Ethernet1- 0 号模块 3 号端口 E1/0/3 加入到 vlan3

 [Quidway vlan3]port E1/0/3

// 按[Ctrl+Z]返回用户视图

<Quidway>save    // 用户视图下保存配置

The configuration will be written to the device.

Are you sure?[Y/N]Y

Please input the file name(*.cfg)[flash:/vrpcfg.cfg]:

Now saving current configur

Saving configuration. Please wait...

.......... 

Configuration is saved to flash memory successfully.

Unit1 save configuration flash:/vrpcfg.cfg successfully 

<Quidway>disp cur      // 用户视图下显示配置参数

local-server NAS-ip 127.0.0.1 key huawei    // 华为服务器

domain default enable system

queue-scheduler wrr 1 2 3 4 5 9 13 15 

radius scheme system 

domain system 

vlan 1

vlan 2

vlan 3

interface Aux1/0/0

interface Ethernet1/0/1

port access vlan 1

interface Ethernet1/0/2

port access vlan 2

interface Ethernet1/0/3

port access vlan 3

interface Ethernet1/0/4

// 未设置

…………………………

interface Ethernet1/0/24

interface GigabitEthernet1/1/1

interface GigabitEthernet1/1/2