network
This command allows selecting whether an interface is logically part of the LAN or part of the WAN.
QoS and NAPT functions handle traffic routed from LAN interfaces to WAN interfaces; port forwarding rules (static NAPT) work only on WAN interfaces; and the default firewall policy prevents inbound packets from WAN interfaces unless solicited by an active connection.
Syntax
network {lan|wan}
Command |
Description |
---|---|
lan |
Define a LAN interface. |
wan |
Define a WAN interface. |
Default
VLAN interfaces default to LAN; all other interfaces default to WAN.
Command Mode
This command is available in interface configuration context.
Example
This example defines a LAN interface:
(config-data)# interface atm 0/0 (conf-atm0/0)# network lan