The public-network command creates, configures, displays, and removes a public network.
add public-network name ID uplink slot/port|slot.port [–group-name=value] [–type=value] [–mtu=value] [–pkey=value] [–trunk-mode={true|false}] remove public-network name set public-network name [–pkey=value] [–mtu=value] [–new-name=value] set public-network name add allowed-vlans vlan [start1-end1,start2-end2] set public-network name remove allowed-vlans vlan [start1-end1,start2-end2] show public-network
where:
ID is the ID of the public network.
name is name of the public network.
slot/port is the physical slot and port number. For example: 2/1.
vlan is the name of the allowed-vlan to add or remove.
This hardware command has subcommands. This table describes the subcommands and provides their syntax.
|
|
This example shows how to create a public network named LLL.
[OFOS] add public-network LLL 333 2/4
This example shows how to display the configuration information for a public network.
[OFOS] show public-network name group-name id pkey state type trunkMode mtu oper-mtu mode description uplink allowed-vlans --------------------------------------------------------------------------------------------------------- KKK default 777 7fff up/up subnet true 1500 1500 UD 2.1 1-11 LLL default 333 7fff p/up subnet true 1500 1500 UD 2/4 none