Displaying ovs-bridge and ovs-port information, Removing ovs ports, Additional interfaces – Brocade Virtual ADX Installation and Deployment Guide (Supporting ADX v03.1.00) User Manual

Page 53: Adding and removing interfaces

Advertising
background image

To configure a VLAN trunk port, use the following command.

[root@xenserver ~]# ovs-vsctl set port <vifx.y> trunks=< vlan-id1, vlan-id2, vlan-

id3, vlan-id4,...>

To configure a VLAN access port, use the following command.

[root@xenserver ~]# ovs-vsctl set port <vifx.y> tag=<vlan-id>

To configure a native-tagged port, use the following command.

[root@xenserver ~]# ovs-vsctl set port <vifx.y> tag=<Native vlan-id>

To configure a native-untagged port, use the following command.

[root@xenserver ~]# ovs-vsctl set port <vifx.y> trunks=< vlan-id1, vlan-id2, vlan-

id3, vlan-id4,...>

Displaying ovs-bridge and ovs-port information

Use the following commands to display information about ovs-bridges and ovs-ports.

[root@xenserver ~]# ovs-vsctl show

[root@xenserver ~]# ovs-vsctl list bridge

[root@xenserver ~]# ovs-vsctl list bridge <ovs-bridge name>

[root@xenserver ~]#ovs-vsctl list port

[root@xenserver ~]# ovs-vsctl list port <ovs-port name>

[root@xenserver ~]# ovs-vsctl get port <ovs-port name> tag

[root@xenserver ~]# ovs-vsctl get port <ovs-port name> trunks

Removing OVS ports

The following commands remove ovs-ports.

[root@xenserver ~]# ovs-vsctl remove port <ovs-port name> tag <vlan-id>

[root@xenserver ~]# ovs-vsctl remove port <ovs-port name> trunks [<vlan-id1> <vlan-

id2> <vlan-id3> <vlan-id4>...]

Additional interfaces

You can add up to five additional interfaces to the default configuration (four interfaces).

Adding and removing interfaces

Use the following steps to add or remove interfaces in a XenServer host environment.

1. Shutdown the Brocade Virtual ADX.

a)

Open Citrix XenCenter.

b)

Right click on Brocade Virtual ADX in the guest VM list.

c)

Select Virtual Machine > Shutdown > Shutdown, to shut down the VM.

Displaying ovs-bridge and ovs-port information

Brocade Virtual ADX Installation and Deployment Guide

53

53-1003241-01

Advertising