interface Instance
12-7
Usage Guidelines
IPv4 commands are not allowed on a L2 interface. Use the
ip access-group
command
to attach an access list to an interface. Use the
no ip access-group
command to remove
the access list from the interface
Use
mac access-group
to attach a MAC access list to an interface
Use the
[no] ip [options]
command to undo IP based interface configurations
Example
WS5100(config-if)#ip access-group 110 in
WS5100(config-if)#
WS5100(config-if)#ip address 192.168.234.1/24
WS5100(config-if)#
Follow the steps below to create a helper address on VLAN 2000 for using a DHCP server
on VLAN 1000:
WS5100(config)#interface vlan 1000
WS5100(config-if)#ip address 172.168.100.1/24
WS5100(config-if)#interface vlan 2000
WS5100(config-if)#ip address 172.168.200.1/24
address
Sets a static IP address and network mask for a Layer 3
SVI (
Switch Virtual Interface
)
• A.B.C.D/M – Sets the IP address (10.0.0.1/8)
• secondary – Defines an optional secondary
IP address
• dhcp – Uses a DHCP Client to obtain an IP address for
the interface. This enables DHCP on a Layer 3 SVI
helper-address
Forwards DHCP and BOOTP packets
•
A.B.C.D – Defines the
IP to which DHCP and BOOTP
packets are forwarded
nat
Sets
Network Address Translation
(NAT) parameters
•
inside –
Inside interface
•
outside –
Outside interface
Summary of Contents for WS5100 Series
Page 1: ...M WS5100 Series Switch CLI Reference Guide ...
Page 14: ...WS5100 Series Switch CLI Reference Guide xviii ...
Page 28: ...WS5100 Series Switch CLI Reference Guide TOC 14 ...
Page 40: ...WS5100 Series Switch CLI Reference Guide 1 12 ...
Page 132: ...WS5100 Series Switch CLI Reference Guide 3 10 ...
Page 164: ...WS5100 Series Switch CLI Reference Guide 4 32 ...
Page 240: ...WS5100 Series Switch CLI Reference Guide 6 10 ...
Page 258: ...WS5100 Series Switch CLI Reference Guide 9 4 ...
Page 270: ...WS5100 Series Switch CLI Reference Guide 10 12 ...
Page 332: ...WS5100 Series Switch CLI Reference Guide 14 22 ...
Page 344: ...WS5100 Series Switch CLI Reference Guide 15 12 ...
Page 482: ...WS5100 Series Switch CLI Reference Guide 20 64 ...
Page 491: ......