The VlanMgr Utility
EPICenter Concepts and Solutions Guide
201
VlanMgr Output
The VlanMgr command displays output indicating the progress of the command as it configures the
VLAN.
VlanMgr Examples
The following examples illustrate the usage of these commands.
•
To create untagged VLAN test1 consisting of untagged ports 2-5, on the switch with IP address
10.20.30.01, and add it to the EPICenter database running the local server with the default
administrator name and password, enter the following command:
VlanMgr -user admin -create test1 -dip 10.20.30.01 -port 2,3,4,5
This VLAN will be created with no 802.1Q tag, protocol ANY, no IP address assigned, and IP
forwarding disabled.
•
To create a tagged VLAN test2 with tag 53, protocol IP, on two switches with tagged ports, IP
forwarding enabled, and an IP address for the VLAN on each switch, enter the following command:
VlanMgr -user admin -create test2 -dip 10.201.20.35 -tagport 10,11 -ipf -ip
10.201.20.100/24 -dip 10.201.20.36 -tagport 11,12,13,14,15 -ipf -ip 10.201.20.102/24
-tag 53 -protocol ip
This creates the VLAN on switch 10.205.0.35 with member ports 10 and 11, VLAN IP address
10.201.20.100 and VLAN mask 255.255.255.0, and on switch 10.205.0.36 with member ports 11, 12, 13,
14 and 15, VLAN IP address 10.201.20.102 and mask 255.255.255.0.
•
To add port 12 on switch 10.201.20.35 to VLAN test2, leaving the configuration otherwise unchanged,
enter the following command:
VlanMgr -user admin -modify test2 -dip 10.201.20.35 -tagport 10,11,12 -ipf -ip
10.201.20.100/24 -dip 10.201.20.36 -tagport 11,12,13,14,15 -ipf -ip 10.201.20.102/24
-tag 53 -protocol ip
Note that this includes all the specifications of the original create command, with the addition of port
12 to the first -tagport option. This is necessary to preserve the VLAN configuration.
Specifying only the changes you want to make will not have the desired results. The command
VlanMgr -user admin -modify test2 -dip 10.201.20.35 -tagport 12
will result in an error
because no VLAN tag is specified, and it is illegal to add a tagged port to an untagged VLAN.
The command
VlanMgr -user admin -modify test2 -dip 10.201.20.35 -tagport 12 -tag 53
(adding just the tag specification) will successfully add port 9 to the VLAN as a tagged port, but will
remove all the other ports on that switch, change the protocol to ANY, disable IP forwarding, and will
remove switch 10.205.0.36 from the VLAN.
•
To remove ports 14 and 15 on switch 10.201.20.36 from VLAN test2, enter the following command:
VlanMgr -user admin -modify test2 -dip 10.201.20.35 -tagport 10,11 -ipf -ip
10.201.20.100/24 -dip 10.201.20.36 -tagport 11,12,13 -ipf -ip 10.201.20.102/24 -tag
53 -protocol ip
•
To remove switch 10.201.20.36 from VLAN test2, enter the following command:
VlanMgr -user admin -modify test2 -dip 10.201.20.35 -tagport 10,11 -ipf -ip
10.201.20.100/24 -tag 53 -protocol ip
This command recreates the VLAN only on switch 10.201.20.35.
Содержание EPICenter 5.0
Страница 12: ...12 EPICenter Concepts and Solutions Guide Preface...
Страница 76: ...76 EPICenter Concepts and Solutions Guide Managing your Network Assets...
Страница 92: ...92 EPICenter Concepts and Solutions Guide Managing VLANs...
Страница 116: ...116 EPICenter Concepts and Solutions Guide Managing Wireless Networks...
Страница 146: ...146 EPICenter Concepts and Solutions Guide VoIP and EPICenter Avaya Integrated Management...
Страница 163: ...Appendices...
Страница 164: ......
Страница 178: ...178 EPICenter Concepts and Solutions Guide Troubleshooting...