Difference between revisions of "IOS: Create a new VLAN"
Jump to navigation
Jump to search
(→Misc) |
(→Misc) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 13: | Line 13: | ||
== Misc == | == Misc == | ||
− | [[interface]] | + | Example: |
− | [[ip address]] | + | [[conf t]] |
+ | [[interface]] vlan999 | ||
+ | [[ip address]] 10.10.xx.1 255.255.255.0 | ||
[[interface]] vlan199 | [[interface]] vlan199 | ||
Line 21: | Line 23: | ||
Solution: Change ip at 10.10.10.1 | 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]
- Create VLAN:
SW1(config)#vlan 9999
- Name VLAN:
SW1(config-vlan)#name YOUR_VLAN_NAME
Delete VLAN[edit]
SW1(config)#no vlan #
show vlan
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]
- Change vlan configuration
show interface status
show vlan
andshow vlan brief
show vtp status
show ip access-list
set vlan
interface vlan
See also[edit]
- VLAN, VTP, VLAN Access-List (VACL), IOS: Create a VLAN, Change vlan configuration,
show vlan
,show vlan brief
,show vlan summary
,show vtp status
,switchport
,set vlan
,vtp mode transparent
- Cisco IOS: Cisco IOS XE, Config (mode), VLANs, Cisco IOS logging, VTP, ACLs,
show logging
,show logging history
,show interface status
,debug
,archive
,show archive
,conf t
,int
,ip http server
,ip ssh
,ip address
, vty,show mac address-table
,show access-list
, Access-list,ip access-group
,admin
Advertising: