huanetwork.com supplies Huawei S5352C-EI, Huawei S5352C-PWR-SI, S2700-26TP-PWR-EI,S3700-52P-EI-24S-AC,S3700-28TP-PWR-EI,S5700-28P-PWR-LI-AC at best price.More information about Huawei switch price and news,you can visit huanetwork.com
2014年2月20日星期四
Configuration Example of the IPv4 Static Route
Configure
the IP address of the Layer 3 interface.
huawei(config)#vlan
2 smart
huawei(config)#port
vlan 2 0/19 0
huawei(config)#interface
vlanif 2
huawei(config-if-vlanif2)#ip
address 1.1.1.2 24
huawei(config-if-vlanif2)#ip
address 1.1.2.1 24 sub
huawei(config-if-vlanif2)#quit
Configure
IPv4 static routes.
Configure
an IPv4 static route for MA5600T/MA5603T_A.
huawei(config)#ip
route-static 1.1.5.0 255.255.255.0 1.1.2.2
huawei(config)#ip
route-static 1.1.4.0 255.255.255.0 1.1.2.2
Configure
an IPv4 static route for MA5600T/MA5603T_B.
huawei(config)#ip
route-static 1.1.5.0 255.255.255.0 1.1.3.1
huawei(config)#ip
route-static 1.1.1.0 255.255.255.0 1.1.3.1
Configure
IPv4 static routes for MA5600T/MA5603T_C.
huawei(config)#ip
route-static 1.1.1.0 255.255.255.0 1.1.2.1
huawei(config)#ip
route-static 1.1.4.0 255.255.255.0 1.1.3.2
Configure
the host gateways.
Configure
the default gateway of Host A to 1.1.1.2.
Configure
the default gateway of Host B to 1.1.4.2.
Configure
the default gateway of Host C to 1.1.5.2.
Save
the data.
Configuration
example of MA5600T/MA5603T_A.
vlan
2 smart
port
vlan 2 0/19 0
interface
vlanif 2
ip
address 1.1.1.2 24
ip
address 1.1.2.1 24 sub
quit
ip
route-static 1.1.5.0 255.255.255.0 1.1.2.2
ip
route-static 1.1.4.0 255.255.255.0 1.1.2.2
订阅:
博文评论 (Atom)
没有评论:
发表评论