beautypg.com

35 ip source guard commands, 1 ip source binding, 2 ip source maximal binding – CANOGA PERKINS 9175 Command Reference User Manual

Page 625

background image

CanogaOS Command Reference

35-1

35 IP Source Guard Commands

35.1 ip source binding

Use the ip source binding global configuration command on the switch to configure static IP source

bindings on the switch. Use the no form of this command to delete static bindings.


Command Syntax

ip source binding mac mac-address vlan vlan-id ip ip-address interface interface-id

no ip source binding mac mac-address vlan vlan-id ip ip-address interface interface-id

mac mac-address

Specify a MAC address.

vlan vlan-id

Specify a VLAN number. The range is 1 to 4094.

ip ip-address

Specify an IP address.

interface interface-id

Specify an interface on which to add or delete a binding entry.

Default

No IP source bindings are configured.


Command Mode

Global configuration


Usage

A static IP source binding entry has an IP address, its associated MAC address, and its associated

VLAN number. The entry is based on the MAC address and the VLAN number. If you modify an entry by

changing only the IP address, the switch updates the entry instead creating a new one.


Examples

The following is sample output from the ip source binding command:

Switch(config)# ip source binding mac 0001.1234.1234 vlan 1 ip 172.20.50.5 interface eth-0-1


Related Commands

show ip source binding

35.2 ip source maximal binding

To specify the maximum number of bindings for each interface, use the ip source maximal binding

command in global configuration mode. To restore to the default value, use the no form of this

command.


Command Syntax

ip source maximal binding per-port number

no ip source maximal binding per-port