Difference between revisions of "IOS: Create a new VLAN"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(7 intermediate revisions by the same user not shown)
Line 10: Line 10:
 
== Delete VLAN ==
 
== Delete VLAN ==
 
* <code>SW1(config)#no vlan #</code>
 
* <code>SW1(config)#no vlan #</code>
 +
* <code>[[show vlan]]</code>
  
 +
== Misc ==
 +
Example:
 +
[[conf t]]
 +
[[interface]] vlan999
 +
[[ip address]] 10.10.xx.1 255.255.255.0
  
== Misc ==
+
[[interface]] vlan199
  interface vlan###
+
ip address 10.10.10.0 255.255.255.0
  [[ip address]] x.x.x.x x.x.x.x
+
Bad mask /24 for address 10.10.10.0
 +
 +
Solution: Change ip at 10.10.10.1
 +
 
 +
 
 +
  %Failed to create VLANs 1555
 +
  Extended VLAN(s) not allowed in current [[VTP]] mode.
 +
%Failed to commit extended VLAN(s) changes.
 +
 
 +
ip address 10.x.x.1 255.255.255.0
 +
% 10.x.x.0 is assigned as a secondary address on VlanXXX
  
 
== Related commands ==
 
== Related commands ==

Latest revision as of 05:52, 16 November 2020


Create VLAN[edit]

Reference document

Delete VLAN[edit]

Misc[edit]

Example:

conf t
interface vlan999
ip address 10.10.xx.1 255.255.255.0
interface vlan199 
ip address 10.10.10.0 255.255.255.0
Bad mask /24 for address 10.10.10.0

Solution: Change ip at 10.10.10.1


%Failed to create VLANs 1555
Extended VLAN(s) not allowed in current VTP mode.
%Failed to commit extended VLAN(s) changes.
ip address 10.x.x.1 255.255.255.0
% 10.x.x.0 is assigned as a secondary address on VlanXXX

Related commands[edit]

See also[edit]

Advertising: