12.07.2015 Views

Management Guide - Kamery IP

Management Guide - Kamery IP

Management Guide - Kamery IP

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

VLAN Commands4subnet-vlanThis command configures <strong>IP</strong> Subnet VLAN assignments. Use the no form to removean <strong>IP</strong> subnet-to-VLAN assignment.Syntaxsubnet-vlan subnet ip-address mask vlan vlan-idno subnet-vlan subnet {ip-address mask | all}• ip-address – The <strong>IP</strong> address that defines the subnet. Valid <strong>IP</strong> addressesconsist of four decimal numbers, 0 to 255, separated by periods.• mask – This mask identifies the host address bits of the <strong>IP</strong> subnet.• vlan-id – VLAN to which matching <strong>IP</strong> subnet traffic is forwarded.(Range: 1-4094)Default SettingNoneCommand ModeGlobal ConfigurationCommand Usage• Each <strong>IP</strong> subnet can be mapped to only one VLAN ID. An <strong>IP</strong> subnet consistsof an <strong>IP</strong> address and a subnet mask.• When an untagged frame is received by a port, the source <strong>IP</strong> address ischecked against the <strong>IP</strong> subnet-to-VLAN mapping table, and if an entry isfound, the corresponding VLAN ID is assigned to the frame. If no mapping isfound, the PVID of the receiving port is assigned to the frame.• The <strong>IP</strong> subnet cannot be a broadcast or multicast <strong>IP</strong> address.• When MAC-based, <strong>IP</strong> subnet-based, and protocol-based VLANs aresupported concurrently, priority is applied in this sequence, and thenport-based VLANs last.ExampleThe following example assigns traffic for the subnet 192.168.12.192, mask255.255.255.224, to VLAN 4.Console(config)#subnet-vlan subnet 192.168.12.192 255.255.255.224 vlan 4Console(config)#show subnet-vlanThis command displays <strong>IP</strong> Subnet VLAN assignments.Command ModePrivileged ExecCommand Usage• Use this command to display subnet-to-VLAN mappings.• The last matched entry is used if more than one entry can be matched.4-335

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!