Oracle® Fabric OS 1.0.2 Command Reference

Exit Print View

Updated: November 2016
 
 

public-network

The public-network command creates, configures, displays, and removes a public network.

Syntax

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.

Subcommand
Description
add allowed-vlans
Specifies the VLANs that can pass over any trunk VNICs on a public network. You can add starting and ending VLAN IDs.
remove allowed-vlans
Deletes any VLANs on the public network.

Options

Option
Description
–group-name
Defines a group name for the public networks.
–mtu
Sets the maximum size of packet transmitted without fragmentation for the public network. Specify an MTU number between 1500 and 4070. By default, 1500-byte packets are used.
–new-name
Defines a new name for the public network.
–pkey
A partition key (hex). Select from the list of established PVI partition pkeys.
–trunk-mode
When set to true, the –trunk-mode option assigns a VLAN range on the public network. When set to false, a VLAN range is not assigned.

Example: Create a Public Network

This example shows how to create a public network named LLL.

[OFOS] add public-network LLL 333 2/4

Example: Display Public Network Configuration

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