Firewall – ASA5505 switchport command

cisco-asafirewall

I've been learning how to use ASA5505 but I faced this thing: When I try to assign Ethernet0/1 with vlan 1, which is the inside network, I see no change in the answer of sh int ip bri or sh run. Why this could be happening? I do not see anything wrong with my firewall.

Best Answer

VLAN 1 (switchport access vlan 1) is the default. As such, it will not normally show in the config.

show switch vlan is the command to see what vlans are defined, and what ports are assigned to them.

The interface list will never show any IP configuration for the ethernet ports because they are part of a switch. (and you cannot no switchport them into routed interfaces.) All layer-3 configuration is via VLAN interfaces.