
79
CHAPTER 3
CLI CONFIGURATION
<v_ipv4_netmask>: The route mask is a destination IP network or host mask, in number of bits (prefix length). It
defines how much of a network address that must match, in order to qualify for this route. Only a default route
will have a mask length of 0 (as it will match anything).
<v_ipv4_gw>: This is the IP address of the gateway. Valid format is dotted decimal notation. Gateway and
Network must be of the same type.
Example:
Add a new ip route with the following settings.
Negation:
(config)# no ip route <v_ipv4_addr> <v_ipv4_netmask> <v_ipv4_gw>
Show: >
show ip route
# show ip route
3.9.18.21 (config)# ip routing
Syntax:
(config)# ip routing
Explanation:
Enable IPv4 and IPv6 routing.
Example:
Enable IPv4 and IPv6 routing.
Negation:
(config)# no ip routing
Show:
> show ip route
> show ipv6 route [interface vlan <vlan_list>]
# show ip route
# show ipv6 route [interface vlan<vlan_list>]
3.9.18.22 (config)# ip source binding interface
Syntax:
(config)# ip source binding interface <port_type> <in_port_type_id> <vlan_var> <ipv4_var> <mask_var>
Explanation:
Create a static entry.
Parameters:
<port_type> <in_port_type_id>: Specify a port type and port number to which a static entry is bound.
# show ip route
127.0.0.1/32 via 127.0.0.1 <UP HOST>
224.0.0.0/4 via 127.0.0.1 <UP>
# show ipv6 route interface vlan 1
::1/128 via ::1 <UP HOST>
# config t
(config)# ip routing
# config t
(config)# ip route 192.168.1.240 255.255.255.0 192.168.1.254
Содержание IFS-1604GSM Series
Страница 385: ......