Options

VLANs

fredmoogiefredmoogie Member Posts: 80 ■■□□□□□□□□
not sure how many vlans i have. could someone clarify.

when i do:

a) sh vlan brief:

vlan 1 active ports ...
vlan 2 active ports ...
"" 3 active ports ...
"" 4 active
"" 5 active ports ...

9 vlans displayed (including 5 defaults)

b) sh vlan summary
Number of existing VLANs : 9

c) sh ver

2 Virtual Ethernet interfaces



d) sh int vlan1 - works fine
e) sh int vlan2 - works fine
f) sh int vlan3 -% Invalid input detected at '^' marker.
g) sh int vlan3 -% Invalid input detected at '^' marker.
h) sh int vlan3 -% Invalid input detected at '^' marker.


can someone clarify the discrepancies??

Comments

  • Options
    ChipschChipsch Member Posts: 114
    You are getting that error because you don't have a SVI (Switched Virtual Interface) defined for vlan 3. If you were to go in and create that SVI you would get the applicable output, i.e.

    int vlan 3
    ip add x.x.x.x x.x.x.x
    no shut

    Then when you run a show int vlan 3 you will get the expected output.
Sign In or Register to comment.